[Ajuda] Pescar em barco
#1

Pescar em barco, mas nгo й getvehicleid dentro, tipo pilotando, й pra ta em cima do barco, queria criar uma condicional /pescar sу funciona-se se vc tive-se parado em cima do barco
https://sampwiki.blast.hk/wiki/Vehicles:Boats
Reply
#2

PHP код:
stock IsPlayerNearVehicle(playeridvehicleidFloat:range)
{
    if(!
GetVehicleModel(vehicleid)) return 0;
    new 
Float:xFloat:yFloat:z;
    
GetVehiclePos(vehicleidxyz);
    return 
IsPlayerInRangeOfPoint(playeridrangexyz);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)