04.09.2017, 10:42
Try to:
Sending a client message to all can be useful to see whether this part of the code is read or not.
Код:
else if(!strcmp(params, "faction", true)) { if(GetPVarInt(playerid, "InvitedToFaction") != 0) { Invite(playerid, GetPVarInt(playerid, "InvitedToFaction"), PlayerName(playerid)); SetPVarInt(playerid, "InvitedToFaction", 0); SendClientMessageToAll(-1, "The code at line X has been read"); } return 1; }