daily pastebin goal
61%
SHARE
TWEET

Untitled

a guest Oct 12th, 2018 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. COMMAND:prizas(playerid,params[])
  2. {
  3.     if( PRIZAS[ playerid ] == false ) return SendClientMessage( playerid, COLOR_RED,"* Pirmiausiai turite laimëti - /varzybos");
  4.  
  5.     PRIZAS[ playerid ] = false;
  6.  
  7.     SetPlayerScore(playerid,GetPlayerScore(playerid)+5000);
  8.  
  9.     SendClientMessage( playerid, COLOR_YELLOW,"* Atsiimëte prizà.");
  10.  
  11.     format(String[ playerid ],150,"UPDATE players SET Prizas='0' WHERE Vardas = '%s'", GetPlayerNameEx[ playerid ] );
  12.     mysql_query(String[ playerid ]);
  13.     return 1;
  14. }
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