SA-MP Forums Archive
Help - 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)
+--- Thread: Help (/showthread.php?tid=646951)



Help - BluePlayBG - 27.12.2017

Код:
E:\SC-RP\scrp\gamemodes\rp.pwn(7740) : warning 202: number of arguments does not match definition
E:\SC-RP\scrp\gamemodes\rp.pwn(9649) : warning 202: number of arguments does not match definition
E:\SC-RP\scrp\gamemodes\rp.pwn(31985) : error 017: undefined symbol "GetVehicleParamsCarWindows"
E:\SC-RP\scrp\gamemodes\rp.pwn(32004) : error 017: undefined symbol "SetVehicleParamsCarWindows"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
7740:
PHP код:
CarData[carid][carVehicle] = CreateVehicle(CarData[carid][carModel], CarData[carid][carPos][0], CarData[carid][carPos][1], CarData[carid][carPos][2], CarData[carid][carPos][3], CarData[carid][carColor1], CarData[carid][carColor2], (CarData[carid][carOwner] != 0) ? (-1) : (1200000), CarData[carid][carSiren]); 
9649:
PHP код:
CarData[i][carVehicle] = CreateVehicle(modelidxyzanglecolor1color2, -1, -1); 
31985:
PHP код:
GetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerbackleftbackright 
32004:
PHP код:
SetVehicleParamsCarWindows(GetPlayerVehicleID(playerid), driverpassengerbackleftbackright); 
Help plz


Re: Help - JaKe Elite - 27.12.2017

Have you updated your SAMP includes to the latest one?


Re: Help - BluePlayBG - 27.12.2017

Alright, I did 2 seconds ago and it fixed, thanks. L A