28.10.2012, 02:57
PHP код:
quero Por uma settimer pra spawnar altomaticament as motos ajuda ae
bikespawn[0] = CreateVehicle(581,1791.2783,-1934.0948,12.9848,354.2775,3,0,999999999);
bikespawn[1] = CreateVehicle(581,1789.6237,-1934.0537,12.9750,357.4486,3,0,999999999);
bikespawn[2] = CreateVehicle(581,1788.1024,-1933.8641,12.9745,358.0408,3,0,999999999);
bikespawn[3] = CreateVehicle(581,1786.3848,-1933.8872,12.9781,358.1466,3,0,999999999);
bikespawn[4] = CreateVehicle(581,1784.7239,-1934.0569,12.9784,359.3941,3,0,999999999);
bikespawn[5] = CreateVehicle(581,1782.8794,-1934.0106,12.9642,357.7718,3,0,999999999);
bikespawn[6] = CreateVehicle(581,1781.1078,-1934.0388,12.9672,357.8594,3,0,999999999);
bikespawn[7] = CreateVehicle(581,1778.9912,-1934.0096,12.9781,1.4786,3,0,999999999);
bikespawn[8] = CreateVehicle(581,1777.0745,-1934.0638,12.9787,358.5738,3,0,999999999);
bikespawn[9] = CreateVehicle(581,1775.4052,-1934.0104,12.9764,1.3193,3,0,999999999);
bikespawn[10] = CreateVehicle(457,1804.4943,-1923.9598,13.0174,71.0574,3,1,999999999);
bikespawn[11] = CreateVehicle(457,1804.3889,-1926.9664,13.0255,71.6346,3,1,999999999);
bikespawn[12] = CreateVehicle(457,1804.3226,-1930.0533,13.0183,72.8345,3,1,999999999);
bikespawn[13] = CreateVehicle(457,1804.2172,-1933.1217,13.0154,73.0885,3,1,999999999);
if(vId==bikespawn[0]||vId==bikespawn[1]||vId==bikespawn[2]||vId==bikespawn[3]||vId==bikespawn[4]||vId==bikespawn[5]||vId==bikespawn[6]||vId==bikespawn[7]||vId==bikespawn[8]||vId==bikespawn[9]||vId==bikespawn[10]||vId==bikespawn[11]||vId==bikespawn[12]||vId==bikespawn[13])
{
if(PlayerInfo[playerid][pMember] >= 0)
{
TogglePlayerControllable(playerid, 1);
return 1;
}
else
{
TogglePlayerControllable(playerid, 1);
RemovePlayerFromVehicle(playerid);
return 1;
}
}