23.08.2012, 23:46
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...
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
im sorry if this meant no sence at all ill kindly explain further if needed
pawn Код:
stock BuyVehFromWang(model, const str[])
{
if(GetPlayerMoney(playerid) >=price)
{
if(CarInfo[playerid][mycars] < 3)
{
new owner[24];
pawn Код:
enum CarO
{
mycars,
Owner[24]
}