Whats wrong??
#1

Why this won't work ?

Код:
new MyWanted = GetPlayerWantedLevel(playerid);
SendClientMessage(playerid,COLOR_YELLOW,"Your wanted level is %s",MyWanted);
Reply
#2

pawn Код:
new string[128];
new MyWanted = GetPlayerWantedLevel(playerid);
format(string, sizeof(string), "Your wanted level is %s", MyWanted);
SendClientMessage(playerid,COLOR_YELLOW,string);
You need to format it.
Reply
#3

Where you puted this code? Is a CMD? Post the code... Not only this!
Reply
#4

Xir:

It says now, "Your Wanted Level Is", that's it..
Reply
#5

Sorry, change
pawn Код:
%s
to
pawn Код:
%d
Reply
#6

Thanks!
Reply
#7

No problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)