Question about defines...
#1

Hello.
I have some bugs in my script.
Problem is,that,I have made some PrivateCars in Los Santos Grove Street.
I made that car system based on strcmp checking player name..
But one define just 1 car,Is there any way to add more cars to 1 define

PHP код:
public OnGameModeInit()
{
    
SetGameModeText("DM/Stunt/Freeroam/DM");
    
AddPlayerClass(1151958.37831343.157215.3746269.1425000000);
    
Chaos AddStaticVehicle(4112505.4805, -1694.454813.5583359.351000);
    
Chaos AddStaticVehicle(4112530.1431, -1667.077815.168475.842000);
    
Chaos AddStaticVehicle(5222507.5515, -1652.731013.6477145.234400);
    
Chaos AddStaticVehicle(5222504.8083, -1651.408613.6138146.487700);
    
Chaos AddStaticVehicle(5222491.7473, -1686.499913.5120351.554600);
    return 
1;

This is the real problem.
It just loads one car,and I need to load all cars with "Chaos = " and prevent players to get into them.
Reply


Messages In This Thread
Question about defines... - by jotan. - 15.10.2012, 13:32
Re: Question about defines... - by McCarthy - 15.10.2012, 13:34
Re: Question about defines... - by AIped - 15.10.2012, 13:34
Re: Question about defines... - by jotan. - 15.10.2012, 13:36
Re: Question about defines... - by newbienoob - 15.10.2012, 13:36
Re: Question about defines... - by Roel - 15.10.2012, 13:36
Re: Question about defines... - by jotan. - 15.10.2012, 13:39
Re: Question about defines... - by Roel - 15.10.2012, 13:42
Re: Question about defines... - by jotan. - 15.10.2012, 13:44
Re: Question about defines... - by HyDrAtIc - 15.10.2012, 13:48

Forum Jump:


Users browsing this thread: 1 Guest(s)