Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward LygioKelimas(); //lygiu pakelimo
- public LygioKelimas(playerid){
- for (new i = 0; i != MAX_PLAYERS; ++i){
- if (!IsPlayerConnected(i)) continue;
- if(GetPlayerScore( i ) > 100 ) { //tikrina ar turi 100 xp
- SendClientMessage(i, BALTA, "{FF0000}[ SERVERIS ] {FFFFFF} Surinkai reikiama patirties tašku kieki! Pasikeliai lygį!");
- pInfo[ i ][ lygis ] = 1; //duoda plius vieną lygį
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment