27.01.2016, 09:09
Hi all , i create a little gamemode from A to Z so i use Y_INI beaucause Mysql is little hard for me so i create a vehicle system and i have this error :
This is the code :
a litle help please t'y
PHP код:
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(179) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(180) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(181) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(182) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(183) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(184) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(185) : error 035: argument type mismatch (argument 1)
C:\Users\Jaber\Desktop\Lmc fun time\gamemodes\lmc.pwn(186) : error 035: argument type mismatch (argument 1)
PHP код:
INI_WriteInt("ModelID", gVehicleStats[i][ModelID]);
INI_WriteInt("Color1", gVehicleStats[i][Color1]);
INI_WriteInt("Color2", gVehicleStats[i][Color2]);
INI_WriteFloat("ParkX", gVehicleStats[i][ParkX]);
INI_WriteFloat("ParkY", gVehicleStats[i][ParkY]);
INI_WriteFloat("ParkZ", gVehicleStats[i][ParkZ]);
INI_WriteFloat("ParkAng", gVehicleStats[i][ParkAng]);
INI_WriteString("Plate", gVehicleStats[i][Plate]);
