SA-MP Forums Archive
Need help, car meniu - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Need help, car meniu (/showthread.php?tid=521149)



Need help, car meniu - EasyMan - 21.06.2014

Hello all, i need some help from you, im stuck, and dont know ho to doo taht, me problem is, for example :

Код:
if(!strcmp("/truck",cmdtext))
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438))
    {
        show dialog here
    }
    return 1;
}
the comes :



And how to make:

that player could have MAXIMUM 2 vehicles - truck and trailer for example
after player logout, vehicles should disapear
if player chose a truck, the truck should spawn in :

Код:
        SetVehiclePos(vehicleid, X,Y,Z);
and if trailer :

Код:
        SetVehiclePos(vehicleid, X,Y,Z);
HELP PLEAS