Lots of crappy errors
#1

Errors
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1132) : warning 202: number of arguments does not match
definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1133) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1134) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1135) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1136) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1137) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(113 : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1139) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1140) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1141) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1142) : warning 202: number of arguments does not match definition
C:\Users\Joe\Desktop\SAMPSERVER (1)\gamemodes\CJFreeRoamMain.pwn(1143) : warning 202: number of arguments does not match definition
--------------------------------------------------------------------------------------------------------------------------------
Gamemode
1132 bicke1 = AddStaticVehicleEx(468, -1351.9860839844, 1558.7978515625, 1052.2912597656, 0.000000, -1, -1); //0
1133 bicke2 = AddStaticVehicleEx(468, -1350.8115234375, 1558.6787109375, 1052.2912597656, 0.000000, -1, -1); //1
1134 bicke3 = AddStaticVehicleEx(468, -1353.2116699219, 1558.8999023438, 1052.2912597656, 0.000000, -1, -1); //2
1135 bicke4 = AddStaticVehicleEx(468, -1354.4671630859, 1558.9893798828, 1052.2912597656, 0.000000, -1, -1); //3
1136 bicke5 = AddStaticVehicleEx(468, -1355.7911376953, 1559.0601806641, 1052.2912597656, 0.000000, -1, -1); //4
1137 bicke6 = AddStaticVehicleEx(468, -1357.1198730469, 1559.1846923828, 1052.2912597656, 0.000000, -1, -1); //5
1138 bicke7 = AddStaticVehicleEx(468, -1358.3979492188, 1559.2176513672, 1052.2912597656, 0.000000, -1, -1); //6
1139 bicke8 = AddStaticVehicleEx(468, -1359.6162109375, 1559.3430175781, 1052.2912597656, 0.000000, -1, -1); //7
1140 bicke9 = AddStaticVehicleEx(468, -1360.8999023438, 1559.4197998047, 1052.2912597656, 0.000000, -1, -1); //8
1141 bicke10 = AddStaticVehicleEx(468, -1362.2369384766, 1559.3690185547, 1052.2912597656, 0.000000, -1, -1); //9
1142 bicke11 = AddStaticVehicleEx(468, -1363.5345458984, 1559.3770751953, 1052.2912597656, 0.000000, -1, -1); //10
1143 bicke12 = AddStaticVehicleEx(468, -1349.412109375, 1558.8742675781, 1052.2912597656, 0.000000, -1, -1); //11
Reply
#2

They're warnings, not errors.

You're not using AddStaticVehicleEx functions correctly (you forgot respawn_delay):
AddStaticVehicleEx(modelid, Floatpawn_x, Floatpawn_y,Floatpawn_z, Float:angle, color1, color2, respawn_delay);
Reply
#3

im a noob so what should i do ?
Reply
#4

Add a respawn delay?

Like:
pawn Code:
bicke1 = AddStaticVehicleEx(468, -1351.9860839844, 1558.7978515625, 1052.2912597656, 0.000000, -1, -1, 3600); // 3600 seconds = 1 hour.
Reply
#5

Quote:
Originally Posted by Don Correlli
Add a respawn delay?

Like:
pawn Code:
bicke1 = AddStaticVehicleEx(468, -1351.9860839844, 1558.7978515625, 1052.2912597656, 0.000000, -1, -1, 3600); // 3600 seconds = 1 hour.
Or he can just use AddStaticVehicle, If he doesnt want a respawn delay. Also, check my reply, Don.
Reply
#6

Quote:
Originally Posted by Don Correlli
Add a respawn delay?

Like:
pawn Code:
bicke1 = AddStaticVehicleEx(468, -1351.9860839844, 1558.7978515625, 1052.2912597656, 0.000000, -1, -1, 3600); // 3600 seconds = 1 hour.
Erm that would be 3,6 seconds, not 1 hour.
Reply
#7

Quote:
Originally Posted by TimmehBoy
Erm that would be 3,6 seconds, not 1 hour.
No, that would be 1 hour.

Quote:
respawn_delay Time until the vehicle respawns when it is destroyed in seconds
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)