13.01.2016, 12:14
Should I use pickup type 1 for toll system? It triggers if picked in a vehicle?
Read about wiki samp PickupTypes..
|
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == //Your Pickup id)
{
if(IsPlayerInAnyVehicle(playerid))
{
//your code here
}
}
return 1;
}