hi how to load checkpoints
#1

hi how to load checkpoints after i press /rob
Quote:

#include <a_samp>
#include <zcmd>
CMD : rob ( playerid , params[])
{

load here check points
PHP код:
 public OnPlayerEnterCheckpoint ( playerid )
{
SetPlayerCheckpoint ( playerid ,- 1457.308227 , 1488.587036 , 7.101562 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1431.015991 , 1490.534057 , 7.101562 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1402.061401 , 1487.038085 , 7.101562 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1382.539794 , 1480.683105 , 8.562500 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1377.263305 , 1492.692993 , 11.203125 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1392.588745 , 1482.908691 , 1.867187 , 1.0 );
SetPlayerCheckpoint ( playerid ,- 1432.917114 , 1483.125732 , 1.867187 , 1.0 ); 
after he is done goto checkpoints disappear checkpoint and give himm 4 wanted star give himm after done goto checkpoints get cash 80k or 50k
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)