15.10.2012, 13:32
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
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.
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(115, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
Chaos = AddStaticVehicle(411, 2505.4805, -1694.4548, 13.5583, 359.3510, 0, 0);
Chaos = AddStaticVehicle(411, 2530.1431, -1667.0778, 15.1684, 75.8420, 0, 0);
Chaos = AddStaticVehicle(522, 2507.5515, -1652.7310, 13.6477, 145.2344, 0, 0);
Chaos = AddStaticVehicle(522, 2504.8083, -1651.4086, 13.6138, 146.4877, 0, 0);
Chaos = AddStaticVehicle(522, 2491.7473, -1686.4999, 13.5120, 351.5546, 0, 0);
return 1;
}
It just loads one car,and I need to load all cars with "Chaos = " and prevent players to get into them.