Wysłany: 2012-11-08, 16:20
Adrianek1
Wiek: 36 Na forum: 4958 dni Posty: 136
Nick w MP: Forcer
Piwa : 1434
Witam mam problem chce ?eby nad graczem pisa?o tak:
Poziom: (level)
Exp: Respekt/IleDoNextlevela
Noi pr?bowa?em co? takiego:
Kod:
if(logged[playerid]){
Update3DTextLabelText(PlayerLabel[playerid],COLOR_GREY,"|Poziom %d|",GetPlayerLevel(playerid));
return 1;
}
Taki warning:
(3102) : warning 202: number of arguments does not match definition
Linijka 3102:
Update3DTextLabelText(PlayerLabel[playerid],COLOR_GREY,"|Poziom %d|",GetPlayerLevel(playerid));
Prosz? o pomoc.
Level: GetPlayerLevel(playerid);
Respekt: Respekt[playerid];
Respekt do next levela: GetPlayerNextExp(playerid);
Ostatnio zmieniony przez Adrianek1 2012-11-08, 16:22, w całości zmieniany 1 raz
Wysłany: 2012-11-08, 16:21
DWD99
Wiek: 29 Na forum: 6264 dni Posty: 159
Nick w MP: #BENG
Piwa : 1695
Wysłany: 2012-11-08, 16:24
Adrianek1
Wiek: 36 Na forum: 4958 dni Posty: 136
Nick w MP: Forcer
Piwa : 1434
zrobilem cos takiego:
Kod: if(logged[playerid]){
new string[256];
Update3DTextLabelText(PlayerLabel[playerid],COLOR_GREY,"|Poziom|");
format(string,sizeof(string),"%d",GetPlayerLevel(playerid));
return 1;
}
Zobacze czy dzia?a
Wysłany: 2012-11-08, 16:56
Marihuana
Żyć by umierać :)
Wiek: 31 Na forum: 6047 dni Posty: 101
Nick w MP: KoZaKo
Piwa : 547
if(logged[playerid]){
new string[32];
Update3DTextLabelText(PlayerLabel[playerid], COLOR_GREY, string);
format(string,sizeof(string),"Poziom: %d\n Exp: %d/%d", GetPlayerLevel(playerid), Respekt[playerid], GetPlayerNextExp(playerid));
return 1;
}
Wysłany: 2012-11-08, 17:09
Adrianek1
Wiek: 36 Na forum: 4958 dni Posty: 136
Nick w MP: Forcer
Piwa : 1434
nie dziala marihuana a to co ja zrobilem pokazuje tylko level
Wysłany: 2012-11-08, 17:17
Marihuana
Żyć by umierać :)
Wiek: 31 Na forum: 6047 dni Posty: 101
Nick w MP: KoZaKo
Piwa : 547
yyy bo pierw si? formatuje
if(logged[playerid]){
new string[32];
format(string,sizeof(string),"Poziom: %d\n Exp: %d/%d", GetPlayerLevel(playerid), Respekt[playerid], GetPlayerNextExp(playerid));
Update3DTextLabelText(PlayerLabel[playerid], COLOR_GREY, string);
return 1;
}
Tagi: jak :: zrobić :: żeby :: level :: exp :: był :: nad :: graczem :: 3d.
Anonymous
Na forum: 245 dni
Posty: 1
Anonymous Koniecznie zajrzyj na: