11.10.2009, 09:01
Код:
public OnPlayerSpawn(playerid) { GivePlayerWeapon(playerid, 348, 1500); GivePlayerWeapon(playerid, 351, 1500); GivePlayerWeapon(playerid, 353, 1500); GivePlayerWeapon(playerid, 355, 1500); GivePlayerWeapon(playerid, 358, 1500); GivePlayerWeapon(playerid, 331, 1); printf("Player ID %d has spawned!",playerid); return 1; }
One more thing:
Код:
forward KillingSpree3(playerid); forward KillingSpree10(playerid); public KillingSpree3(playerid) { if(GetPlayerScore(playerid) >= 3) { new PlayerName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "[Spree] %s is now on a killing spree!", PlayerName); SendClientMessageToAll(COLOR_GREEN, string); } } public KillingSpree10(playerid) { if(GetPlayerScore(playerid) >= 10) { new PlayerName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); format(string, sizeof(string), "[Spree] %s has been awarded a Minigun! Stop him before he damages the whole place!", PlayerName); SendClientMessageToAll(COLOR_GREEN, string); GivePlayerWeapon(playerid, 362, 3000); } }
Plz help me!! The script compiles with no errors, but like i mentioned, it doesnt do what its meant to... Plz tell me if u have a better way to put all this...
Greetz