admin cmds - 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)
+--- Thread: admin cmds (
/showthread.php?tid=285016)
admin cmds -
uprp - 21.09.2011
I got a bug on the whole script..
When i do any admin cmd like /ban /gotoid etc
it always does the effect to ID 0.
i've tried even using bare script, but its the same
Problem is plugins or scriptfiles..

Im using linux, .so
Re: admin cmds -
=WoR=G4M3Ov3r - 21.09.2011
Do you use sscanf ?, If no use it, and use this
PHP код:
new giveplayerid;
if(sscanf(params, "u", giveplayerid)) return SendClientMessageEx(playerid, 0xEEAD0EAA, "/ban [playerid]");
Re: admin cmds -
grand.Theft.Otto - 21.09.2011
Lets see your code ?
Re: admin cmds -
=WoR=Varth - 22.09.2011
Upgrade your sscanf(If you using it) that compatible with R5(If you using it).