"Player not connected" if inserting an id cmd.
#6

pawn Код:
if (!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_GREY, "SERVER: This player is not connected."); // "!" = false, "!IsPlayerConnected(targetid) = If player is not connected. "targetid" = the one you are using the command on.

Put that on all your commands.
Should work.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)