Quote:
Originally Posted by NaClchemistryK
for creating it, you need to create it under ongamemodeinit using a variable.
pawn Код:
new robcheck;
//ongamemodeinit robcheck = SetPlayerCheckpoint(params here);
//onplayerentercheckpoint if(checkpointid == robcheck) { //blablabla }
|
SetPlayerCheckpoint does not return a checkpointid but 0/1 for failure/success. Use streamer plugin instead (CreateDynamicCP) and then check if checkpointid is the one you created.