15.07.2015, 04:52
Next time, read the topics carefully.
So, would you try this :
Quote:
in script is defined that if someone kill player who is in vehicle which admin gave to automaticly that vehicle will be destroyed, but it`s buggy |
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(IsPlayerInVehicle(playerid,AdminCar))
{
DestroyVehicle(AdminCar);
return 1;
}
return 1;
}