08.08.2010, 16:04
I know that if : new block[MAX_PLAYERS]; and put in a code :
But I dont know how to block to "all" of players after certain code or action ,as the one Im trying to do : a house just for fun
I know that this is the code for "all " players :
But how to mix it with a command which will block certain action after another certain - Sorry if anything wrong on this text. But I bet there's no.
Код:
if(strcmp("/block",cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, vermelho, "lol");
block[playerid]=1;
}
else { if(block[playerid]=1)
return SendClientMessage(playerid, vermelho, "blocked already");
}
return 1;
}
I know that this is the code for "all " players :
Код:
for(new v = 0; v < MAX_VEHICLES; ++v)

