Can Someone Help Solve This Error?
#3

Quote:
Originally Posted by Bmxerlmao5288
Посмотреть сообщение
These are the errors

Код:
C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(214) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\New GTA Server\gamemodes\DeathMatch.pwn(219) : error 010: invalid function or declaration
This is the Code

Код:
public OnPlayerDeath(playerid, killerid, reason);
{
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
    if(IsPlayerConnected(killerid)
	{
    	GivePlayerMoney(killerid, 50);
    	SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
 	}
	return 1;
try that.added semicolon after reason and delete a bracket around 50)) change it to 50)
Reply


Messages In This Thread
Can Someone Help Solve This Error? - by Bmxerlmao5288 - 13.06.2011, 02:34
Re: Can Someone Help Solve This Error? - by futuretrucker - 13.06.2011, 02:36
Re: Can Someone Help Solve This Error? - by jot16 - 13.06.2011, 02:37
Re: Can Someone Help Solve This Error? - by Bmxerlmao5288 - 13.06.2011, 02:39

Forum Jump:


Users browsing this thread: 2 Guest(s)