A little help plz
#5

now its

new Gangzone[2],
public OnGameModeInit()
{
gangzone = GangZoneCreate(-385.3699, 1506.446, -256.9133, 1646.58; );
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if(Checkpoint[playerid] == 1)
{
SendClientMessage(playerid,0x7CFC00AA,"You're capture the zone; please wait 20 seconds");
SetTimerEx("SetZone",20000,false,"i",playerid);
}
return 1;
}
forward SetZone(playerid);
public SetZone(playerid)
{
SetPlayerScore(playerid,GetPlayerScore(playerid)+5 );
GivePlayerCash(playerid,500);
SendClientMessage(playerid,0x7CFC00AA,"You've capture the zone and receive 500 $ and 5 score");
if (gTeam[playerid] == TEAM_Latino)
{
GangZoneShowForAll(gangzone,TEAM_LatinoCOLOR);
}
else if (gTeam[playerid] == TEAM_England)
{
GangZoneShowForAll(gangzone,TEAM_EnglandCOLOR);
}

return 1;

and errors are

C:\Users\DKHG\Desktop\capture.pwn(204) : error 020: invalid symbol name ""
C:\Users\DKHG\Desktop\capture.pwn(211) : error 017: undefined symbol "Checkpoint"
C:\Users\DKHG\Desktop\capture.pwn(211) : warning 215: expression has no effect
C:\Users\DKHG\Desktop\capture.pwn(211) : error 001: expected token: ";", but found "]"
C:\Users\DKHG\Desktop\capture.pwn(211) : error 029: invalid expression, assumed zero
C:\Users\DKHG\Desktop\capture.pwn(211) : fatal error 107: too many error messages on one line

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


5 Errors.
Reply


Messages In This Thread
A little help plz - by rishabh1x - 18.05.2012, 10:02
Re: A little help plz - by $$inSane - 18.05.2012, 10:10
Re: A little help plz - by $$inSane - 18.05.2012, 10:13
Re: A little help plz - by rishabh1x - 18.05.2012, 10:22
Re: A little help plz - by rishabh1x - 18.05.2012, 11:13
Re: A little help plz - by HighPitchedVoice - 18.05.2012, 11:21

Forum Jump:


Users browsing this thread: 2 Guest(s)