20.11.2012, 00:59
Entгo pessoal, to colocando apenas para a org aqui pegar o carro, e o erro й o seguinte:
error 021: symbol already defined: "VCVCar"
Sendo que, jб coloquei:
O que mais falta? e.e
error 021: symbol already defined: "VCVCar"
Sendo que, jб coloquei:
PHP код:
new VCVCar[20];
PHP код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
for(new i = 0; i < sizeof(VCVCar); i ++)
{
new vm = GetPlayerVehicleID(playerid);
if(vm == VCVCar[i])
{
if(PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
SendClientMessage(playerid,-1,"[ERRO] Vocк nгo й do Comando Vermelho.");
RemovePlayerFromVehicle(playerid);
}
}
}
}
PHP код:
//cv//
VCVCar[0] = AddStaticVehicleEx(522,2326.30004883,-1908.09997559,13.19999981,90.00000000,3,3,15); //NRG-500
VCVCar[1] = AddStaticVehicleEx(522,2326.69995117,-1918.40002441,13.19999981,90.00000000,3,3,15); //NRG-500
VCVCar[2] = AddStaticVehicleEx(522,2342.30004883,-1898.59997559,13.19999981,180.00000000,3,3,15); //NRG-500
VCVCar[3] = AddStaticVehicleEx(522,2344.80004883,-1898.90002441,13.19999981,180.00000000,3,3,15); //NRG-500
VCVCar[4] = AddStaticVehicleEx(522,2347.80004883,-1899.30004883,13.19999981,180.00000000,3,3,15); //NRG-500
VCVCar[5] = AddStaticVehicleEx(522,2350.50000000,-1899.30004883,13.19999981,180.00000000,3,3,15); //NRG-500
VCVCar[6] = AddStaticVehicleEx(562,2351.30004883,-1924.19995117,13.10000038,91.59899902,3,1,15); //Elegy
VCVCar[7] = AddStaticVehicleEx(562,2333.30004883,-1919.50000000,12.69999981,359.59289551,3,1,15); //Elegy
VCVCar[8] = AddStaticVehicleEx(562,2285.00000000,-1930.19995117,12.39999962,179.58795166,3,1,15); //Elegy
VCVCar[9] = AddStaticVehicleEx(562,2261.50000000,-1929.80004883,12.39999962,179.58251953,3,1,15); //Elegy
VCVCar[10] = AddStaticVehicleEx(565,2351.39990234,-1929.69995117,13.10000038,90.00000000,3,1,15); //Flash
VCVCar[11] = AddStaticVehicleEx(565,2238.30004883,-1930.50000000,12.39999962,181.00000000,3,1,15); //Flash
VCVCar[12] = AddStaticVehicleEx(565,2249.80004883,-1921.90002441,13.10000038,180.99969482,3,1,15); //Flash
VCVCar[13] = AddStaticVehicleEx(565,2249.80004883,-1929.80004883,13.10000038,180.99426270,3,1,15); //Flash
VCVCar[14] = AddStaticVehicleEx(567,2333.30004883,-1908.00000000,12.89999962,180.00000000,3,3,15); //Savanna
VCVCar[15] = AddStaticVehicleEx(567,2296.80004883,-1911.69995117,13.39999962,180.00000000,3,3,15); //Savanna
VCVCar[16] = AddStaticVehicleEx(567,2296.80004883,-1921.90002441,13.39999962,180.00000000,3,3,15); //Savanna
VCVCar[17] = AddStaticVehicleEx(567,2296.80004883,-1930.69995117,13.39999962,180.00000000,3,3,15); //Savanna
VCVCar[18] = AddStaticVehicleEx(487,2260.89990234,-1918.09997559,20.39999962,0.00000000,3,3,15); //Maverick
VCVCar[19] = AddStaticVehicleEx(487,2285.00000000,-1917.90002441,20.39999962,0.00000000,3,3,15); //Maverick