frozzys

Untitled

May 8th, 2012
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.43 KB | None | 0 0
  1. forward LygioKelimas(); //lygiu pakelimo
  2. public  LygioKelimas(playerid){
  3.  for (new i = 0; i != MAX_PLAYERS; ++i){
  4.      if (!IsPlayerConnected(i)) continue;
  5.      if(GetPlayerScore( i ) > 100 ) { //tikrina ar turi 100 xp
  6.     SendClientMessage(i, BALTA, "{FF0000}[ SERVERIS ] {FFFFFF} Surinkai reikiama patirties tašku kieki! Pasikeliai lygį!");
  7.     pInfo[ i ][ lygis ] = 1; //duoda plius vieną lygį
  8.        }
  9.  }
  10.    return 1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment