Jump to content
  • 0

2 intrbari


rBcollo

Question

3 answers to this question

Recommended Posts

1.

public OnPlayerEnterVehicle( playerid, vehicleid )
{
    TogglePlayerControllable( playerid, false );
    return 1;
}
http://wiki.sa-mp.com/wiki/OnPlayerEnterVehicle http://wiki.sa-mp.com/wiki/TogglePlayerControllable 2.
public OnPlayerUpdate( playerid )
{
    if( IsPlayerInRangeOfPoint( playerid, RANGE, X, Y, Z ) ) SpawnPlayer( playerid );
    return 1;
}

http://wiki.sa-mp.com/wiki/IsPlayerInRangeOfPoint

http://wiki.sa-mp.com/wiki/OnPlayerUpdate

http://wiki.sa-mp.com/wiki/SpawnPlayer

Link to comment
Share on other sites

Stunt man,merge,dar se blocheaza cand este langa masina,eu vreau sa se blocheze cand este in masina

Deci eu vreau ca la masinile personale (cele cu /v buy necumparate) sa te blochezi in ele,am pus la IsAnOwnableCar,dar te blochezi si in cele cumparate,iar la /v buy am pus TogglePlayerControllable(playerid,1); , cum pot face ca doar la cele necumparate sa se blocheze?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.