25.05.2010, 23:42
is there a checkpoint maker??
/ how to make a checkpoint..
/ how to make a checkpoint..
new CP1;
public OnGameModeInit()
{
CP1 = CreateDynamicCP(...)
return 1;
}
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
if(checkpointid == CP1)
{
SetPlayerPos(...)
}
return 1;
}
C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(37) : error 017: undefined symbol "CP1" C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(37) : error 017: undefined symbol "CreateDynamicCP" C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(253) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterDynamicCP") C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(255) : error 017: undefined symbol "CP1" C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(257) : warning 213: tag mismatch C:\DOCUME~1\Karim\MYDOCU~1\GRANDT~1\SAMPSE~1\GAMEMO~1\ELITED~1.PWN(257) : warning 202: number of arguments does not match definition Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.