04.04.2015, 08:22
Hello!
Do you mean it like that?
Do you mean it like that?
PHP код:
CMD:offcheck(playerid,params[])
{
new pID;
if(sscanf(params,"u",pID))return SendClientMessage(playerid,-1,"Use /offcheck [playerid]");
if(IsPlayerConnected(pID))
{
SendClientMessage(playerid,-1,"you cannot use this command on online player");
return 1;
}
//If the player isn't connected
return 1;
}