SA-MP Forums Archive
:O server unknow command - 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: :O server unknow command (/showthread.php?tid=78088)



:O server unknow command - gpclan - 17.05.2009

i have a probelm with my drift server when a person teleports they type /drift1 and it says when they teleport there says You Teleported to drift 1 and after that Server unkown command help plz


Re: :O server unknow command - Joe Staff - 17.05.2009

return 1; has to be at the end of the command
example:

pawn Код:
if((strcmp("/poop",cmdtext,true)==0)
{
   SetPlayerHealth(playerid,0.0);
   return 1;
}



Re: :O server unknow command - gpclan - 17.05.2009

thanks man