26.01.2011, 08:29
here's my code
its givin me these errors:
Код:
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; }
Код:
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.