SA-MP Forums Archive
Help! after /v park vehicle...... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help! after /v park vehicle...... (/showthread.php?tid=178680)



Help! after /v park vehicle...... - melcal05 - 23.09.2010

Help! after /v park vehicle ..... This happens after I add vehicles
Pawno:
Код:
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10945) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10946) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10947) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10948) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10949) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10950) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10951) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10952) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10953) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10954) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10955) : warning 202: number of arguments does not match definition
C:\Documents and Settings\notgood\桌面\SA-MP\gamemodes\LARP2.pwn(10956) : warning 202: number of arguments does not match definition
I'm using LARP ,can u tell me the problem and how to solve it


Re: Help! after /v park vehicle...... - Mike_Peterson - 23.09.2010

post some code?


Re: Help! after /v park vehicle...... - melcal05 - 24.09.2010

which code?


Re: Help! after /v park vehicle...... - Sascha - 24.09.2010

the code where you have the errors....


Re: Help! after /v park vehicle...... - melcal05 - 25.09.2010

ok AFTER I ADD THEM IT SHOWS THAT ERROR
Код:
AddStaticVehicleEx(468,1241.0735,-802.0040,83.8025,178.6068,0,0); // gangcar 184
    AddStaticVehicleEx(487,1291.4885,-787.4888,96.6382,178.9534,0,0); // gangcar   185
    AddStaticVehicleEx(468,1242.4063,-802.1678,83.8048,177.2974,0,0); // gangcar  186
    AddStaticVehicleEx(506,1245.2816,-804.3129,83.9714,180.0313,0,0); // gangcar    187
    AddStaticVehicleEx(426,1249.3921,-804.0731,83.9744,179.5757,0,0); // gangcar      188
    AddStaticVehicleEx(426,1254.4847,-804.3808,83.9765,179.0484,0,0); // gangcar      189
    AddStaticVehicleEx(487,2529.4666,-1677.7222,20.1055,88.6338,16,1); // gangcar 2  190
    AddStaticVehicleEx(492,2506.8140,-1678.5626,13.2464,322.8063,16,1); // gangcar 2     191
    AddStaticVehicleEx(492,2509.6128,-1672.4185,13.1860,349.1453,16,1); // gangcar 2     192
    AddStaticVehicleEx(468,2498.5557,-1684.1219,13.0698,15.2816,16,16); // gangcar 2    193
    AddStaticVehicleEx(468,2497.5530,-1684.5850,13.0716,4.2121,16,16); // gangcar 2    194
    AddStaticVehicleEx(602,2509.6409,-1667.1053,13.2866,1.5616,16,16); //  gangcar 2     195



Re: Help! after /v park vehicle...... - Scenario - 25.09.2010

People need to lean how to use the SA-MP Wiki! It's there for a reason - help and support!

https://sampwiki.blast.hk/wiki/AddStaticVehicleEx


Re: Help! after /v park vehicle...... - Bigruneboss - 01.12.2010

hey, im wanting a tuned savana, can anyone tune one and park it, and tell me what the ini file says for it.
i can get the coords myself, id like green flames, greens seats, nosx10, grove tires, hydrolics.
I forgot what all you can add, basily i want the best tune with the green flames and seats.
this is what i have so far:
Model=567
Location_X=2493.403808
Location_Y=-1677.085205
Location_Z=13.216274
Angle=66.732093
VirtualWorld=0
SecurityCode=357
need paintjob with the better looking flames.
color 1 and 2
and the components


Re: Help! after /v park vehicle...... - scripter1 - 01.12.2010

Quote:
Originally Posted by Bigruneboss
Посмотреть сообщение
hey, im wanting a tuned savana, can anyone tune one and park it, and tell me what the ini file says for it.
i can get the coords myself, id like green flames, greens seats, nosx10, grove tires, hydrolics.
I forgot what all you can add, basily i want the best tune with the green flames and seats.
this is what i have so far:
Model=567
Location_X=2493.403808
Location_Y=-1677.085205
Location_Z=13.216274
Angle=66.732093
VirtualWorld=0
SecurityCode=357
need paintjob with the better looking flames.
color 1 and 2
and the components
For color:
pawn Код:
ChangeVehiclePaintJob(vehicleid, 1); // 1 stands for vehicle paintjob number
For NOS x10, and Hydraulics:
pawn Код:
AddVehicleComponent(vehicleid, 1010); // NOS
AddVehicleComponent(vehicleid, 1087); // Hydraulics
Don't know about the tires.

For melcal05:
This is the proper format for AddStaticVehicleEx:
pawn Код:
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay)