06.07.2012, 18:40
Well i have a problem entering a vehicle pretty much i have a few Trucks that are static vehicles and when i go to enter them it dont let me im pretty sure its because of this code..
How can i make it so i can enter it and still have that code ?
If you need any more code just ask
Please help
Thanks
How can i make it so i can enter it and still have that code ?
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(Vehicles[vehicleid][CarGroup] != 0 && Vehicles[vehicleid][CarGroup] != Player[playerid][Group])
{
if(ispassenger == 0)
{
ClearAnimations(playerid);
}
}
}
Please help
Thanks