SA-MP Forums Archive
Car Dealer - 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: Car Dealer (/showthread.php?tid=501697)



Car Dealer - CallumDaBest - 19.03.2014

I need to put three vehicles which are : Rancher, Admiral and an Sanchez at three coordinates
Rancher:170,-138.9159,1123.4893,19.7500,267.8520,0,0,0,0,0,0);
Admiral:170,-138.3756,1126.8125,19.7500,269.0111,0,0,0,0,0,0
Sanchez:170,-138.8431,1129.2848,19.7500,269.0111,0,0,0,0,0,0
And they need to be put as a price so players can buy them!
Rancher: 25k
Admiral: 10k
Sanchez: 4k
Could you please do that for me i have tried and failed so i need someone to do it for me i have deleted my code!


Re: Car Dealer - CallumDaBest - 19.03.2014

Someone please help me!


Re: Car Dealer - Carac - 19.03.2014

You need to have a filterscript or scripted dealership system for this probably.


Re: Car Dealer - CallumDaBest - 19.03.2014

No right Filterscript for this!
Please help


Re: Car Dealer - CallumDaBest - 19.03.2014

Please help i need this done!!!


Re: Car Dealer - CallumDaBest - 20.03.2014

Please help There is no right filterscript for this and i need it done within my script!


Re: Car Dealer - Tadas - 20.03.2014

Try to create vehicle on GameModeInit and under OnPlayerEnterVehicle put something like this and try do a dialog when player enter in that vehicle:
pawn Код:
public OnPlayerEnterVehicle(playerid,vehicleid,ispassenger)
{
    if(GetVehicleModel(vehicleid) == 489) // 489 is the rancher id
    {
        ShowPlayerDialog(playerid, bla bla bla");
    }
    return 1;
}
And when under OnDialogRespone create a dialog.


Re: Car Dealer - CallumDaBest - 20.03.2014

That does not make sense could you create the whole code?


Re: Car Dealer - Zeppo - 20.03.2014

God. Stop bumping! Use this:
https://sampforum.blast.hk/showthread.php?tid=460706
If you don't use Y_INI, change it.