[Need Help] Car spawns twice
#1

FIXED
Reply
#2

Please Help!
Reply
#3

Add in UP:
pawn Код:
//Amount of Vehicles!
#define maxvehicles 899
Add this to your GameModeInit If it is a FS then add in FilterScriptInit!
pawn Код:
for(new v=0; v<maxvehicles; v++){
Reply
#4

No does not work :S
Reply
#5

Have you checked if coordonates
Код:
	CreateVehicle(596,1546.0244,-1697.8789,13.2669,90.0000,53,1,VEHICLE_RESPAWN); // Copcar
	CreateVehicle(596,1545.9713,-1653.2279,13.2792,90.0000,53,1,VEHICLE_RESPAWN); // Copcar
	CreateVehicle(596,1537.3641,-1677.8995,13.1816,180.0000,53,1,VEHICLE_RESPAWN); // Copcar
	CreateVehicle(596,1537.3370,-1667.7383,13.1832,180.0000,53,1,VEHICLE_RESPAWN); // Copcar
	CreateVehicle(596,1528.6390,-1688.0862,5.6109,270.0000,53,1,VEHICLE_RESPAWN); // Copcar
	CreateVehicle(596,1563.1328,-1710.2125,5.6111,360.0000,53,1,VEHICLE_RESPAWN); // Copcar
........
........
Doesn't overlap with any of...
Код:
new Float:RandomVehicles[265][4] = {
{2299.070068,1538.322998,10.502697,90.656600},
{2372.468994,1416.701660,10.490013,180.656341},
{2609.793212,1432.843750,10.566087,178.556777},
{2460.918457,921.915771,10.566639,269.929199},
{1552.790527,1025.020629,10.564740,89.558700},
{1354.948730,1158.980346,10.566164,359.741058},
{1092.275878,1218.602172,10.566159,87.857482},
{1173.750732,1367.011840,10.563897,270.341918},

....
....
....
LATER: I've tried to use your code in a filterscript and all seemed fine to me.. I haven't seen any car spawned twice..
Reply
#6

I delted all createvehicles but it still does not work :S
Reply
#7

FIXED
Reply
#8

I'm just curious.. what was the problem ?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)