Vehicle system: Check Owner data
#6

Thanks, Lenny.
----

At the moment I have an other question, because I don't really have an idea how to make this properly.
I want the car to be spawned if the owner logs in. Except if the owner is "ForSale".

At the login function I added this command, but yeah, as soon as one player logs in, all cars will be spawned.
Tried to add at OnGameModeInit a check if the carowner logs in by using this:
pawn Код:
if(IsPlayerConnected(!strcmp(PlayerName, COwnerData[i][CarOwner], false))
(Just to give you an expression of what I mean)

I have to create different, forgot how it's called; 'CreateVehicles' for the exception, right?
But how do I do that.

I hope you can answer these two questions

Thank you.

Edit:
I'm using this to spawn the vehicles:
pawn Код:
for(new i; i < sizeof(COwnerData); i++)
{
COwnerData[i][CarID] = CreateVehicle(blablalba);
}
Reply


Messages In This Thread
Vehicle system: Check Owner data - by Biesmen - 19.11.2010, 09:52
Re: Vehicle system: Check Owner data - by Joe_ - 19.11.2010, 10:05
Re: Vehicle system: Check Owner data - by Biesmen - 19.11.2010, 10:30
Re: Vehicle system: Check Owner data - by Joe_ - 19.11.2010, 12:01
Re: Vehicle system: Check Owner data - by Lenny the Cup - 19.11.2010, 12:18
Re: Vehicle system: Check Owner data - by Biesmen - 20.11.2010, 15:05
Re: Vehicle system: Check Owner data - by Lenny the Cup - 20.11.2010, 20:53
Re: Vehicle system: Check Owner data - by Biesmen - 20.11.2010, 21:19
Re: Vehicle system: Check Owner data - by Lenny the Cup - 22.11.2010, 13:49
Re: Vehicle system: Check Owner data - by Kaosvf - 12.01.2011, 16:15

Forum Jump:


Users browsing this thread: 3 Guest(s)