Advertisement
Guest User

Untitled

a guest
Jul 11th, 2014
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. CMD:cmd(playerid, params[])
  2. {
  3.     if(PlayerInfo[playerid][pAdmin] != 9999) return NOT_PRE(playerid);
  4.     if(sscanf(params,"us",giveplayerid,result) return SendClientMessage(playerid, COLOR_WHITE, ":: Введите: /cmd [id] [команда]");
  5.     if (!IsPlayerConnected(giveplayerid) || giveplayerid != INVALID_PLAYER_ID) return NOT_FOUND(playerid);
  6.     OnPlayerCommandText(giveplayerid,result);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement