Quote:
Originally Posted by alpha500delta
Perhaps you set it admin-only, I believe that is an option in GarHouse.
And for the score every minute:
pawn Код:
SetTimer("GiveAllScore", 60000, 1);//60000 is 1 minute, place this under OnGameModeInit.
forward GiveAllScore();//We need to forward it as it's a callback public GiveAllScore()//Just place this somewhere [NOT in another callback] { for(new i = 0; i < MAX_PLAYERS; i++)//Loop trough all players { SetPlayerScore(i, GetPlayerScore(i)+1);//Gets a player score and sets it +1 } return 1; }
+ For the score on death:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)//If your script already has this callback, then you can just copy the contents inside this { SetPlayerScore(killerid, GetPlayerScore(killerid)+1);//Set the killerid's score +1 SendClientMessage(killerid, -1, "You received 1 score for killing a player!");//Send them a message to inform them return 1; }
|
Omg thank u it means alot to me but can u put it for me here's the gamemode
http://www.mediafire.com/?ro4lgnyxu229i7s>>.PWN
http://www.mediafire.com/?79vw6hxxsbiiw87>>.AMX
thnx