Dynamic race checkpoint help
#1

here's my code

Код:
public OnPlayerEnterDynamicRaceCP(playerid, checkpointid);
{
	if(checkpointid == dscp[0])
	    {
	    dscp[1] = SetPlayerRaceCheckpoint(playerid, 0,1015.8873,1809.7323,10.4908,1314.0038,1810.6564,10.4308, 5);
	    }
	if(checkpointid == dscp[1])
	    {
	    dscp[2] =SetPlayerRaceCheckpoint(playerid, 0, 1314.0038,1810.6564,10.4308,1563.9357,1868.2799,10.5651, 5);
	    }
	return 1;
}
its givin me these errors:
Код:
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(884) : error 055: start of function body without function header
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(885) : error 010: invalid function or declaration
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(889) : error 010: invalid function or declaration
C:\Users\likith\Desktop\3c srvr\gamemodes\EeshRP.pwn(893) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply


Messages In This Thread
Dynamic race checkpoint help - by THE_KNOWN - 26.01.2011, 08:29
Re: Dynamic race checkpoint help - by iggy1 - 26.01.2011, 08:31
Re: Dynamic race checkpoint help - by THE_KNOWN - 26.01.2011, 08:32

Forum Jump:


Users browsing this thread: 1 Guest(s)