Payday System Help
#1

Hello Guys I want to make payday system

My coding

forward PayDay();

SetTimer("PayDay", 60 * 1000, true);

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

If i Compile it shows


E:\Hibari\gamemodes\emmaus.pwn(954) : error 017: undefined symbol "GivePlayerScore"
E:\Hibari\gamemodes\emmaus.pwn(954) : warning 215: expression has no effect
E:\Hibari\gamemodes\emmaus.pwn(954) : error 001: expected token: ";", but found ")"
E:\Hibari\gamemodes\emmaus.pwn(954) : error 029: invalid expression, assumed zero
E:\Hibari\gamemodes\emmaus.pwn(954) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Please Help me
Reply


Messages In This Thread
Payday System Help - by emmaus09 - 04.04.2013, 06:01
Re: Payday System Help - by emmaus09 - 04.04.2013, 06:05
Re: Payday System Help - by brawrr - 04.04.2013, 06:53
Re: Payday System Help - by MP2 - 04.04.2013, 07:12

Forum Jump:


Users browsing this thread: 1 Guest(s)