CMD:buycar(playerid, params[])
{
CreateDynamicCP(-1454.8569,1489.1010,7.1016, 3.0, -1, -1, -1, 100.0); //1st
CreateDynamicCP(-1428.7382,1490.0945,7.1016, 3.0, -1, -1, -1, 100.0); //2
CreateDynamicCP(-1402.7249,1486.1351,7.1016, 3.0, -1, -1, -1, 100.0); // 3
CreateDynamicCP(-1382.1962,1480.3761,8.5625, 3.0, -1, -1, -1, 100.0);// 4
CreateDynamicCP(-1376.8267,1492.7152,11.2031, 3.0, -1, -1, -1, 100.0);// 5
CreateDynamicCP(-1390.7821,1483.1436,1.8672, 3.0, -1, -1, -1, 100.0);// 6
CreateDynamicCP(-1434.3047,1483.0374,1.8672, 3.0, -1, -1, -1, 100.0);//7
CreateDynamicCP(-1381.9700,1498.3158,8.5625, 3.0, -1, -1, -1, 100.0);//8
return 1;
}
-1447.2351,1502.1000,1.7366 |
-2392.9497,2312.1875,-0.1095 |
GivePlayerMoney(playerid, 40000+random(120000)); |
SetPlayerRaceCheckpoint(playerid,3,-1447.2351,1502.1000,1.736610.0);
public OnPlayerEnterRaceCheckpoint(playerid)
{
GivePlayerMoney(playerid, 40000+random(120000));
return 1;
}
CreateDynamicRaceCP(-1447.2351,1502.1000,1.7366);
public OnPlayerEnterDynamicRaceCP(playerid, checkpointid) { buycar(playerid); }
-2392.9497,2312.1875,-0.1095 |
-1447.2351,1502.1000,1.7366 |