a little help :/ - 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: a little help :/ (
/showthread.php?tid=371617)
a little help :/ -
thefatshizms - 23.08.2012
Hi im tired got a massive head ache and its pissing me off that i cant think of how i could do this when earlier today i knew how to do it and then got this headache...
pawn Код:
stock BuyVehFromWang(model, const str[])
{
if(GetPlayerMoney(playerid) >=price)
{
if(CarInfo[playerid][mycars] < 3)
{
new owner[24];
thats how far i got with my stock lol basicly im trying to make a vehicle system and when someone buys a car it will be in their name. what i was trying to make this stock do before giving up was to the owner (const str[] ) to the model id and to my variable in my enum
pawn Код:
enum CarO
{
mycars,
Owner[24]
}
im sorry if this meant no sence at all ill kindly explain further if needed
Re: a little help :/ -
Shetch - 24.08.2012
I'll create a little dealership FS, wait a second.