10.09.2012, 18:30
Hey again... i am having a melt down about these errors.
and the lines are:
any help would be awesome..
PHP код:
D:\Los Santos Streets RolePlay\Vortex Script\gamemodes\CCRP.pwn(3246) : error 012: invalid function call, not a valid address
D:\gamemodes\CCRP.pwn(3246) : warning 215: expression has no effect
D:\gamemodes\CCRP.pwn(3246) : warning 215: expression has no effect
D:\gamemodes\CCRP.pwn(3246) : error 001: expected token: ";", but found ")"
D:\gamemodes\CCRP.pwn(3246) : error 029: invalid expression, assumed zero
D:\gamemodes\CCRP.pwn(3246) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP код:
else if(gift == 7)
{
GivePlayerCash(giveplayerid, 20000); <----------- This is the Line.
SendClientMessageEx(giveplayerid, COLOR_GRAD2, " Congratulations - you have won $20,000!");
format(string, sizeof(string), "* %s was just gifted $20,000, enjoy!", GetPlayerNameEx(giveplayerid));
ProxDetector(30.0, giveplayerid, string, COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW,COLOR_YELLOW);
}