Error car
#1

Hi all! i have a big problem... i use gm godfather and i put some FACTION CARS in gamemode.. result => 20 warning ... why?

Lines :
AddStaticVehicleEx(467,2539.1128,-1035.0784,69.3369,179.1471,6,1); // Vagos_Car
AddStaticVehicleEx(467,2535.5229,-1035.0754,69.3385,177.7080,6,1); // Vagos_Car
AddStaticVehicleEx(411,2542.9241,-1042.9221,69.2146,89.5478,6,6); // Vagos_Car
AddStaticVehicleEx(474,2554.4624,-1042.7740,69.2704,89.5928,6,6); // Vagos_Car
AddStaticVehicleEx(451,2551.8315,-1053.1876,69.2334,91.3738,6,6); // Vagos_Car
AddStaticVehicleEx(560,2541.7837,-1053.2112,69.1891,90.4817,6,6); // Vagos_Car
AddStaticVehicleEx(560,2530.6758,-1061.3779,69.2718,359.4956,6,6); // Vagos_Car
AddStaticVehicleEx(487,2539.3738,-1067.4664,72.9497,100.0759,6,6); // Vagos_Heli
AddStaticVehicleEx(521,2557.2832,-1036.6860,69.1403,179.5479,6,6); // Vagos_Moto
AddStaticVehicleEx(451,2491.7593,-1683.5719,13.1392,268.4128,86,86); // GrooVe_Car
AddStaticVehicleEx(567,2505.8225,-1679.0525,13.3207,318.1369,86,86); // GrooVe_Car
AddStaticVehicleEx(492,2510.0317,-1668.4893,13.2210,359.7133,86,1); // GrooVe_Car
AddStaticVehicleEx(560,2499.5591,-1653.9778,13.1397,74.3813,86,86); // GrooVe_Car
AddStaticVehicleEx(521,2515.4509,-1664.7322,13.3038,103.4729,86,86); // GrooVe_Car
AddStaticVehicleEx(521,2515.3369,-1663.4188,13.3405,101.3426,86,86); // GrooVe_Car
AddStaticVehicleEx(487,2533.3914,-1675.9926,20.1076,269.9375,86,86); // GrooVe_Car
Result :
Код:
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(4779) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(4788) : warning 217: loose indentation
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8047) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8048) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8049) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8050) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8051) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8052) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8053) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8054) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8055) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8056) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8057) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8058) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8059) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8060) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8061) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(8062) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(20365) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrator\Desktop\uGaming oFficial done 20%\gamemodes\gf.pwn(20370) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           7116 bytes
Code size:          1384256 bytes
Data size:          4602916 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4130 cells (16520 bytes)
Total requirements: 6010672 bytes

20 Warnings.
when i changed AddstaticvehicleEx with Addstaticvehicle it work but the car are not for... Groove for ex..
sorry for my bad english.. pls help me!

p.S : i try new groovecar1; and groovecar1 = add... for example but nothing.
Reply
#2

The AddStaticVehicleEx function adds the "respawn_delay" parameter. You will need to add the amount of time you want to wait for the vehicle to respawn after the player exits the vehicle:
pawn Код:
// Example
AddStaticVehicleEx(487,2533.3914,-1675.9926,20.1076,269.9375,86,86,100000);
More imformation on the function and it's arguments, look on the wiki.
Reply
#3

thanks man .. but must be make this work with all cars?
is good to follow #define never -1 and last parameter use ,never?
again! sorry for my bad english
Reply
#4

If you want to set the respawn delay of the vehicle different from that of the default time. Otherwise, you can just use the AddStaticVehicle function. And even if you did want to, it's only 16 lines of code to alter.
Reply
#5

Ok now i try! AddStaticVehicle But need to /oldcar again at cars?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)