SA-MP Forums Archive
error 035: argument type mismatch (argument 2) - 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: error 035: argument type mismatch (argument 2) (/showthread.php?tid=614858)



error 035: argument type mismatch (argument 2) - jimdo - 14.08.2016

pawn Код:
if(strcmp(PlayerInfo[playerid][playerteam],Vehicles[GetPlayerVehicleID(playerid)][carteam] == CIV,true) && strcmp(PlayerInfo[playerid][playerteam],Vehicles[GetPlayerVehicleID(playerid)][carteam],false) && strcmp(PlayerName(playerid),Vehicles[vehicleid][carowner],false) && strcmp(PlayerName(playerid),Vehicles[vehicleid][dupekey],false))
Error: error 035: argument type mismatch (argument 2)


Re: error 035: argument type mismatch (argument 2) - Shinja - 14.08.2016

strcmp is for strings
and what the hell you mean by this
PHP код:
Vehicles[GetPlayerVehicleID(playerid)][carteam] == CIV // inside strcmp as string2 



Re: error 035: argument type mismatch (argument 2) - jimdo - 14.08.2016

nvm fixed. my mistakes.