[HELP] Surfing Player On Vehicle
#1

Deleted
Reply
#2

use ****** or search Goshadi ?
https://sampwiki.blast.hk/wiki/GetPlayerSurfingVehicleID
In Shayad komaket kone !
Reply
#3

daus in base on chizi k man mikham ni
Reply
#4

pawn Код:
stock IsPlayerSurfingAVehicle(playerid)
{
     if(GetPlayerSurfingVehicleID(playerid) != INVALID_VEHICLE_ID) return 1;
   
     return 0;
}
wiki.sa-mp.com/wiki/GetPlayerSurfingVehicleID
Reply
#5

you can give me full this command + functions + publics and stocks?
Reply
#6

Can you explain more that how does /surf work? What does it going to do?
Reply
#7

Quote:
Originally Posted by MamadKz
Посмотреть сообщение
you can give me full this command + functions + publics and stocks?
How are you supposed to learn when we will do all the scripting for you? the function is easy to use read the SA-MP wiki to discover how it really works and if you have any questions ask them here again..

However, you can use a one second timer and a loop through all the vehicles and check; For instance:

pawn Код:
public OneSecondTimer(playerid)
                   {
for(new i = 1; i <= GetVehiclePoolSize(); i++)
{
    if(GetPlayerSurfingVehicleID(playerid) == i)
    {
// Do whatever
}
}
I hope I helped any feedback would be appreciated!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)