10.10.2012, 21:29
I all
i esplain my problem
i have created some VIP vehicles
with
and i gave the ids to the vehicles at OnGameModIni
nvm the problem is on OnVehicleSpawn
i want to make something that will detecte all the vipcars[] in order continu my work
i've tryed this but not working
any solution ? buy the wat i have 28 cars with vipcars[1] vipcars[2] ...
i esplain my problem
i have created some VIP vehicles
with
Код:
vipcars[MAX_VEHICLES];
nvm the problem is on OnVehicleSpawn
i want to make something that will detecte all the vipcars[] in order continu my work
i've tryed this but not working
Код:
for(new i = 1;i<MAX_VEHICLES;i++)
{
if(vehicleid == vipcars[i])
{
VehicleFuel[i] = 500;
SetVehicleHealth(i, 1000);
return 1;
}
{


? why creating a public ? and even if i do it the problem will be the same