daily pastebin goal
25%
SHARE
TWEET

Untitled

Diego_Rivera Oct 11th, 2018 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CMD:ekazi(playerid, params[])
  2. {
  3.     if( PlayerInfo[ playerid ][ xGameSage ] < 1 &&  PlayerInfo[ playerid ][ xAdmin ] < 1) return SendErrorMessage( playerid, "Niste u mogucnosti koristiti ovu komandu." );
  4.     new result[128];
  5.     new sendername[MAX_PLAYER_NAME];
  6.     new string[128];
  7.     GetPlayerName(playerid, sendername, sizeof(sendername));
  8.     new Float:plocx,Float:plocy,Float:plocz;
  9.     GetPlayerPos(playerid, plocx, plocy, plocz);
  10.     if( sscanf( params, "s[128]", result ) ) return SendUsageMessage( playerid, "/ekazi [ text ]");
  11.     format(string, sizeof(string), "Event | %s kaze:(( %s ))", sendername, result);
  12.     foreach(Player,i)
  13.     {
  14.     if(IsPlayerInRangeOfPoint(i, 100.0,plocx, plocy, plocz))
  15.     {
  16.     SendClientMessage(i,COLOR_FLBLUE,string);
  17.     }
  18.     }
  19.     return 1;
  20. }
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