Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2014-02-27, 02:31


PvF.GreeN







Wiek: 28
Na forum: 4672 dni
Posty: 209
Nick w MP: NexuS

Piwa: 2875

Respekt: 128
Respekt: 128

Ostrzeżeń: 60%
Cze?? postanowi?em zrobi? wybiera?ke, ?e skiny pokazuj? si? w TD. Prawie mi to wysz?o lecz mam bugi i nie wiem jak to naprawi?, poniewa? robie to pierwszy raz :c I nie mam zielonego poj?cia dlaczego si? tak dzieje.

Wygl?da to tak. :



a kod wygl?da tak.

Pawn
#include <a_samp>

new PlayerTextSkin_ID1;
new PlayerTextSkin_ID2;
new PlayerTextSkin_ID3;
new Skins;

main(){}

public OnGameModeInit()
{
    for(Skins 0Skins 299Skins++)
    {
         AddPlayerClass(Skins,2566.5068,-1732.5140,1.6406,346.8111,0,0,0,0,0,0);
    }
    return 1;
}

public OnPlayerRequestClass(playeridclassid)
{
    Skin_ID1 CreatePlayerTextDraw(playerid521.000000274.000000"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID10);
    PlayerTextDrawFont(playeridSkin_ID1TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID185.00000076.000000);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID1GetPlayerSkin(playerid));
    PlayerTextDrawShow(playeridSkin_ID1);
    Skin_ID2 CreatePlayerTextDraw(playerid158.500347.500"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID20);
    PlayerTextDrawFont(playeridSkin_ID2TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID258.00080.500);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID2GetPlayerSkin(playerid)+1);
    PlayerTextDrawShow(playeridSkin_ID2);
    Skin_ID3 CreatePlayerTextDraw(playerid250.00071.500"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID30);
    PlayerTextDrawFont(playeridSkin_ID3TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID3103.000271.000);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID3GetPlayerSkin(playerid)-1);
    PlayerTextDrawShow(playeridSkin_ID3);
    return 1;
}



Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-02-27, 06:24


IgrexolonO







Wiek: 34
Na forum: 6809 dni
Posty: 1386

Piwa: 1062

Respekt: 651,8
Respekt: 651,8Respekt: 651,8

Czyli co Ci w?a?ciwie nie dzia?a..?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-02-27, 11:18


=X=

WUJCIO DOBRA RADA






Wiek: 52
Na forum: 4524 dni
Posty: 134
SPONSOR

Piwa: 641

Respekt: 209,5
Respekt: 209,5Respekt: 209,5

Ostrzeżeń: 100%
"PvF.GreeN" napisał/a:

Cze?? postanowi?em zrobi? wybiera?ke, ?e skiny pokazuj? si? w TD. Prawie mi to wysz?o lecz mam bugi i nie wiem jak to naprawi?, poniewa? robie to pierwszy raz :c I nie mam zielonego poj?cia dlaczego si? tak dzieje.

Wygl?da to tak. :

Obrazek

a kod wygl?da tak.

Pawn
#include <a_samp>

new PlayerTextSkin_ID1;
new PlayerTextSkin_ID2;
new PlayerTextSkin_ID3;
new Skins;

main(){}

public OnGameModeInit()
{
    for(Skins 0Skins 299Skins++)
    {
         AddPlayerClass(Skins,2566.5068,-1732.5140,1.6406,346.8111,0,0,0,0,0,0);
    }
    return 1;
}

public OnPlayerRequestClass(playeridclassid)
{
    Skin_ID1 CreatePlayerTextDraw(playerid521.000000274.000000"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID10);
    PlayerTextDrawFont(playeridSkin_ID1TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID185.00000076.000000);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID1GetPlayerSkin(playerid));
    PlayerTextDrawShow(playeridSkin_ID1);
    Skin_ID2 CreatePlayerTextDraw(playerid158.500347.500"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID20);
    PlayerTextDrawFont(playeridSkin_ID2TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID258.00080.500);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID2GetPlayerSkin(playerid)+1);
    PlayerTextDrawShow(playeridSkin_ID2);
    Skin_ID3 CreatePlayerTextDraw(playerid250.00071.500"_");
    PlayerTextDrawBackgroundColor(playeridSkin_ID30);
    PlayerTextDrawFont(playeridSkin_ID3TEXT_DRAW_FONT_MODEL_PREVIEW);
    PlayerTextDrawTextSize(playeridSkin_ID3103.000271.000);
    PlayerTextDrawSetPreviewModel(playeridSkin_ID3GetPlayerSkin(playerid)-1);
    PlayerTextDrawShow(playeridSkin_ID3);
    return 1;
}



Po po?udniu napisz? selekcje skin?w [0 - 299] w TextDraw, i wystawi? na forum w dziale skrypty tym co chc? si? nauczy? robi? TD + selekcja w TD, odrodzenie w TD + include

Postaw piwo autorowi tego posta
 

 
Wysłany: 2014-02-27, 12:10


PvF.GreeN







Wiek: 28
Na forum: 4672 dni
Posty: 209
Nick w MP: NexuS

Piwa: 2875

Respekt: 128
Respekt: 128

Ostrzeżeń: 60%
IgrexolonO, chodzi mi bardziej o to co si? dzieje na zdj?ciu. Ale ju? wiem czemu sie tak dzieje. pom?g? mi kto? na srawno.pl wi?c temat do zamkni?cia.

Postaw piwo autorowi tego posta
 

 
Tagi: wybierałka :: skin
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku