12.09.2011, 04:31
Ola amigos gostaria de saber como eu faria Para criar um Sistema de Race Aereo Com Checkpoints.
Agradeзo Desde Ja.
Agradeзo Desde Ja.
(playerid, tipo, Float:x, Float:y, Float:z, Float:nextx, Float:nexty, Float:nextz, Float:size)
if(strcmp(cmdtext,"/race", true) == 0)
{
new carro = CreateVehicle(411,1425.1904,-2501.3125,13.2600,270.3486,1,1,60000); // race
PutPlayerInVehicle(playerid,carro, 0);
SetPVarInt(playerid,"vars",SetPlayerCheckpoint(playerid,1499.6726,-2493.3113,13.2583,10));
SendClientMessage(playerid,-1,"A corrida irб comeзar");
GameTextForPlayer(playerid,"Go ~b~Go ~g~Go",5000,1);
TogglePlayerControllable(playerid, 1);
return 1;
}
// OnPlayerEnterCheckpoint
if(GetPVarInt(playerid,"vars"))
{
DisablePlayerCheckpoint(playerid);
SetPlayerCheckpoint(playerid,1613.7256,-2493.1897,13.2599,10);
return 1;
}
pawn Код:
|