Help with checkpoints DMV system
#7

do it like this
PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(
Ccp[playerid] == 1// This checks if our variable equals to 1, if so: it continues
    
{
        
DisablePlayerCheckpoint(playerid); // This makes sure that there will be a new checkpoint
        
Ccp[playerid] = 2// Changes the variable, so we can use it later again with OnPlayerEnterCheckpoint
        
SetPlayerCheckpoint(playerid, -1051.4005,-655.8729,31.73613.0); // Creates a new checkpoint at a different position
        
SendClientMessage(playerid0xFFFFFFFF"You loaded your goods, go to the next checkpoint to continue.");
        return 
1;
    }
    return 
1;

@@ 100% works, sorry if i'm talking bit of nonsense lol, tired as ****
Reply


Messages In This Thread
Help with checkpoints DMV system - by jakejohnsonusa - 15.11.2012, 21:44
Re: Help with checkpoints DMV system - by MatZZPL - 15.11.2012, 21:48
Re: Help with checkpoints DMV system - by jakejohnsonusa - 15.11.2012, 21:50
Re: Help with checkpoints DMV system - by Tomejus - 15.11.2012, 21:51
Re: Help with checkpoints DMV system - by MatZZPL - 15.11.2012, 21:52
Re: Help with checkpoints DMV system - by jakejohnsonusa - 15.11.2012, 21:54
Re: Help with checkpoints DMV system - by MatZZPL - 15.11.2012, 21:58
Re: Help with checkpoints DMV system - by jakejohnsonusa - 15.11.2012, 21:59
Re: Help with checkpoints DMV system - by MatZZPL - 15.11.2012, 22:01
Re: Help with checkpoints DMV system - by jakejohnsonusa - 15.11.2012, 22:02

Forum Jump:


Users browsing this thread: 2 Guest(s)