05.02.2012, 12:17
Quote:
|
mh i guess you need this function:
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID |
My plan was to make something like this:
IF (GetPlayerSurfingVehicleID == VehicleID)
{
SendClientMessage(playerid,COLOR_RED,"Carsurfing is forbidden!");
}
But my problem is, how the hell can i get the ID from the car, wich the player is surfing on? If he was the driver it wouldnt be any problem, but now the guy would be on the roof....
There lies my problem


