Exit arena only mit comand
#1

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
Reply
#2

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;
}
    }
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)