03.05.2011, 15:12
Quote:
Hey I need a script for my server. When i player get 20 kills the next gamemode will be started. I really need this!
|
pawn Код:
stock Kills[MAX_PLAYERS char];
#define Kills[%0] Kills{%0}
//OnPlayerDeath
if(killerid != INVALID_PLAYER_ID) {
if(++Kills[killerid] == 20) {
GameModeExit();
return true;
}
}