daily pastebin goal
26%
SHARE
TWEET

Untitled

broouklyn Jun 13th, 2018 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //
  2. CMD:id(playerid, params[])
  3. {
  4.     new id, poraka [ 200 ];
  5.     if(IsPlayerLogged(playerid))
  6.     {
  7.         if(sscanf(params, "ui", id))return SendUsingCMDMessage(playerid, "/id [ID/Nickname]");
  8.         if(IsPlayerInvalid(id))return SendNotValidMessage(playerid);
  9.         if(!IsPlayerLogged(id))return SendNotValidMessage(playerid);
  10.        
  11.         format(poraka, sizeof(poraka), "[ID: %i] %s [CH: %s]", id, USER_NICKNAME(id), CHARACTER_NICKNAME(id));
  12.         SendPlayerMessage(playerid, COLOR_ZOLTA, poraka);
  13.    
  14.     }
  15.     else if(!IsPlayerLogged(playerid))return SendNotLoggedMessage(playerid);
  16.     return 1;
  17. }
  18. //
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top