Whats wrong?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Whats wrong?? (
/showthread.php?tid=239525)
Whats wrong?? -
kemppis_ - 13.03.2011
Why this won't work
?
Код:
new MyWanted = GetPlayerWantedLevel(playerid);
SendClientMessage(playerid,COLOR_YELLOW,"Your wanted level is %s",MyWanted);
Re: Whats wrong?? -
xir - 13.03.2011
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.
Re: Whats wrong?? -
ricardo178 - 13.03.2011
Where you puted this code? Is a CMD? Post the code... Not only this!
Re: Whats wrong?? -
kemppis_ - 13.03.2011
Xir:
It says now, "Your Wanted Level Is", that's it..
Re: Whats wrong?? -
xir - 13.03.2011
Sorry, change
to
Re: Whats wrong?? -
kemppis_ - 13.03.2011
Thanks!
Re: Whats wrong?? -
xir - 13.03.2011
No problem.