Levelup.
#1

Hey,

I was wondering if there's something like that you levelup every payday you recieve.

If someone could help me I would appreciate it.
Reply
#2

Код:
SetTimer("PayDay", 60 * 1000, true); // Add this on GameModeInit

forward PayDay();
public PayDay(){
	for(new i = 0; i < MAX_PLAYERS; i++){
		if(IsPlayerConnected(i)){
		    GivePlayerScore(i, +1);
		    GivePlayerMoney(i, +1000);
	            SendClientMessageToAll(-1, "Payday!!!!!!!!");
		}
	}
	return 1;
}
Reply
#3

Thanks man,

Do I just copy and past it in my gamemode file? :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)