How to let a player stay in a dm
#1

Hi! , i have a dmmenu but when you got killed in the dm youll go back to your spawnplace..
I want that youll stay in the dm until you type something like for example: /exitdm

How do i do it?

Ty,
Reply
#2

Just set the value of the integer to 0.
Reply
#3

pawn Код:
public OnPlayerSpawn(playerid)
{
if(DMArea[playerid] == DMAREA)
{
SetPlayerPos(playerid, X,Y,Z);
}
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)