Car Dealer
#1

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!
Reply
#2

Someone please help me!
Reply
#3

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

No right Filterscript for this!
Please help
Reply
#5

Please help i need this done!!!
Reply
#6

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

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.
Reply
#8

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)