SA-MP Forums Archive
i Can Making Dealership - 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: i Can Making Dealership (/showthread.php?tid=538921)



i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One



Re: i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One



Re: i Can Making Dealership - JonathanW - 25.09.2014

Yep Buddy. You can 'making' Dealership 'With This Way !' but what's your ambiguity? Your Question?


Re: i Can Making Dealership - FisherMan - 25.09.2014

Quote:
Originally Posted by JonathanW
Посмотреть сообщение
Yep Buddy. You can 'making' Dealership 'With This Way !' but what's your ambiguity? Your Question?
i want example how to making with this save player car or bikes buying it when he is open spawn his own car and he is disconect car disapear
example please +rep


Re: i Can Making Dealership - Ox1gEN - 25.09.2014

You don't want an example, you just want the straight up filterscript that'll suit to your way of writing code.
Why don't you look at examples from other filterscripts, inspect them and write yours?
Simple as that.


Re: i Can Making Dealership - JonathanW - 25.09.2014

Well, First off make an Enumerator.
pawn Код:
enum pInfo
{
    OwnesCar
}
Then define this on the top.
pawn Код:
new PlayerVehicle[MAX_PLAYERS];
Then, make a Dealership Dialog, Or Message or whatever you like. Once, the player clicks 'Buy' on Dialog (For Instance), it creates a Vehicle near the Dealership. Bla Bla.

pawn Код:
PlayerVehicle[playerid] = CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay)
PlayerInfo[playerid][OwnesCar] = 1;
SendClientMessage(playerid, 0xFFFFFFFF, "Bla Bla Bla? Bla Bla Bla! Yer Bought a Ride Nigger!";
Add this Under OnPlayerDisconnect.
pawn Код:
DestroyVehicle(PlayerVehicle[playerid]);
I hope you understand this Bla Bla XD!


Re: i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One



Re: i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One



Re: i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One



Re: i Can Making Dealership - FisherMan - 25.09.2014

Removed
Done Making One