simple question!
#4

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.
Reply


Messages In This Thread
simple question! - by danish007 - 22.06.2014, 17:12
Re: simple question! - by Excel™ - 22.06.2014, 17:22
Re: simple question! - by NaClchemistryK - 22.06.2014, 17:23
Re: simple question! - by Konstantinos - 22.06.2014, 17:28
Re: simple question! - by NaClchemistryK - 22.06.2014, 17:33
Re: simple question! - by danish007 - 22.06.2014, 17:43
Re: simple question! - by NaClchemistryK - 22.06.2014, 17:44
Re: simple question! - by danish007 - 22.06.2014, 17:46
Re : Re: simple question! - by Clad - 22.06.2014, 17:46
Re: Re : Re: simple question! - by danish007 - 22.06.2014, 17:49

Forum Jump:


Users browsing this thread: 1 Guest(s)