Making it so when someone does /dm1 they cant teleport out
#1

Ok basicly i have a dm1 command
and i need to make it so when they teleport to dm1
they cant teleport out
This is what i have...


Код:
new AtDm[MAX_PLAYERS]; // Variable
 
AtDm[playerid] = 0; // I put this on Connect and Disconnect
AtDm[playerid] = 1; // I put this on the DM command



// i stick this on all the other commands, So they cant teleprot to them :S

 
if (AtDm[playerid] == 1;
{
SendClientMessage(playerid, Color, " You cannot Teleport out :O ");
return 1;
}
It doesent work :S
Reply
#2

SOLVED
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)