Help with checkpoints DMV system
#2

Yeah it won't work like this, i tried it too. However thats how i done it..
PHP код:
new Ccp[MAX_PLAYERS]; 
PHP код:
Ccp[playerid] = 1// This will change the variable, so we can use it later on with OnPlayerEnterCheckpoint
                
SetPlayerCheckpoint(playerid1920.0251,-1788.2981,12.954210.38393.0); // This creates a checkpoint at the coцrdinates: "-269.1287,2610.6057,63.2069" 
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
        
SendClientMessage(playerid0xFFFFFFFF"You delivered the goods, go to the Courier Agency to get some more jobs.");
        
GivePlayerCash(playerid4250);
        return 
1;
    }

something like that?
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)