Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
Hello Guys ... I made a command (/dm) to join deathmatch
and i want the players when they'll type this cmd and they are already in it .. they will see :
SendClientMessage(playerid, COLOR_RED,"[DM]: You are already in the dm..");
Posts: 229
Threads: 37
Joined: Jan 2010
Reputation:
0
new NotAllow[MAX_PLAYERS]; at the top
and under ur dm command u write: NotAllow[playerid] = 1;
and on the text: if(NotAllow[playerid] == 1) SendClientMessage(and all the stuff here)
writing on htc, so dunno if it is right.
Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
ee100 // Doesn't works sir ... it still teleport to the dm
Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
Steven82 // I made it and i got some errors
Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
********** UP ***********
Posts: 192
Threads: 49
Joined: Nov 2009
Reputation:
0
and I'll post IsPlayerInDM[playerid] = 1 under the code, isn't it ?
Posts: 1,741
Threads: 44
Joined: Apr 2010
Reputation:
0
new IsPlayerInDM[MAX_PLAYERS]; should go somewhere under your includes.