09.10.2010, 19:09
Hey guys!
I have a question!
I have a command that every player can use /gotop!
If a player wanna /gotop to a player that its in a DM area,tht players shouldnt be allowed to /gotop!
i have tried something like...
new PlayerInDM [MAX_PLAYERS];
in the /dm command
PlayerInDM[playerid] = 1;
and in the /gotop
if(PlayerInDM[playerid] == 1 but i dont think that this is correct!
Help
I have a question!
I have a command that every player can use /gotop!
If a player wanna /gotop to a player that its in a DM area,tht players shouldnt be allowed to /gotop!
i have tried something like...
new PlayerInDM [MAX_PLAYERS];
in the /dm command
PlayerInDM[playerid] = 1;
and in the /gotop
if(PlayerInDM[playerid] == 1 but i dont think that this is correct!
Help