/suspect - 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: /suspect (
/showthread.php?tid=128901)
/suspect -
Razvann - 20.02.2010
I want to make at /suspect command to be /(su)spect [playerid/PartOfName] [wantedlevel] [crime], but in my command is: /(su)spect [playerid/PartOfName] [crime]
I should type for 4 times /su playerid crime to give him wanted level 4. Here's my command.
http://www.pastebin.com/m1bfd7632
And I have another problem, here:
Код:
new Float:X, Float:Y, Float:Z, Float:Speed;
new stringa[256];
Speed = floatmul(floatsqroot(floatadd(floatadd(floatpower(X, 2), floatpower(Y, 2)), floatpower(Z, 2))), 100.0);
format(stringa, sizeof(stringa), "~r~~n~~n~~n~~n~~n~~n~~n~Speed:~w~%ikm/h",floatround(Speed, floatround_floor));
GameTextForPlayer(i,stringa,15500,3);
But the gametext doesen't appear, why?
Thanks.
Re: /suspect -
Razvann - 21.02.2010
Anyone?