Exit arena only mit comand - 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: Exit arena only mit comand (
/showthread.php?tid=105565)
Exit arena only mit comand -
tiwk - 30.10.2009
I need help.
I wanted the players just goes out to the arena without typing a command ... Example / exitarena ...
And if you do not type the command, can not leave the arena

Help
and Ty
Re: Exit arena only mit comand -
Peter_Corneile - 30.10.2009
Try something like this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/repair",cmdtext,true,7) == 0)
{
SetPlayerPos(playerid,X,Y,Z); //Coords for your entry place
return 1;
}
return 0;
}
}