[Help]
#1

Hello All
i making simple checkpoints
PHP код:
CMD:buycar(playeridparams[])
{
 
CreateDynamicCP(-1454.8569,1489.1010,7.10163.0, -1, -1, -1100.0); //1st
 
CreateDynamicCP(-1428.7382,1490.0945,7.10163.0, -1, -1, -1100.0); //2
 
CreateDynamicCP(-1402.7249,1486.1351,7.10163.0, -1, -1, -1100.0); // 3
 
CreateDynamicCP(-1382.1962,1480.3761,8.56253.0, -1, -1, -1100.0);// 4
 
CreateDynamicCP(-1376.8267,1492.7152,11.20313.0, -1, -1, -1100.0);// 5
 
CreateDynamicCP(-1390.7821,1483.1436,1.86723.0, -1, -1, -1100.0);// 6
 
CreateDynamicCP(-1434.3047,1483.0374,1.86723.0, -1, -1, -1100.0);//7
 
CreateDynamicCP(-1381.9700,1498.3158,8.56253.0, -1, -1, -1100.0);//8
 
return 1;

i Want Know How To Make Race Checkpoints this pos
Quote:

-1447.2351,1502.1000,1.7366

after he is take this Race Checkpoints Will Be Showing The Checkpoints in CMD From 1 To 8
After He is Done Take All From 1 To 8 Checkpoints After Take One Checkpoints Disapear it
After Done 1 To 8 Checkpoints Showing To Player Race Checkpoints This Pos
Quote:

-2392.9497,2312.1875,-0.1095

+ Take This Money
Quote:

GivePlayerMoney(playerid, 40000+random(120000));

Reply
#2

pawn Код:
SetPlayerRaceCheckpoint(playerid,3,-1447.2351,1502.1000,1.736610.0);

pawn Код:
public OnPlayerEnterRaceCheckpoint(playerid)
{
    GivePlayerMoney(playerid, 40000+random(120000));
    return 1;
}
Reply
#3

Your first step will be:
Код:
CreateDynamicRaceCP(-1447.2351,1502.1000,1.7366);
Then on Callback:
Код:
public OnPlayerEnterDynamicRaceCP(playerid, checkpointid)
{
      buycar(playerid);
}
and sorry for the rest cause I cannot understand your way of writing English.
Hope I helped.
Reply
#4

Removed
Reply
#5

Help Please
Reply
#6

only i want making it
When Player Enter This Checkpoints Race After Take it Will Be Showing The Checkpoints 1 To 8
after Player Take All Checkpoints 1 To 8 Will Showing Checkpoints Race End To Take Money This For Race Checkpoints Road The Money Pos
Quote:

-2392.9497,2312.1875,-0.1095

And This For Frist One To After Take it Will Showing The Checkpoints 1 to 8 this pos
Quote:

-1447.2351,1502.1000,1.7366

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)