20.11.2013, 07:26
I've been trying to find a way to record the owner of the vehicle but keep getting errors such as
error 035: argument type mismatch (argument 3)
This is all I think you need to see. If anyone could help it'd be much appreciated so I can move on with my script.
error 035: argument type mismatch (argument 3)
Код:
INI_String("Owner",VehicleInfo[idx][vOwner], 24); new name[24]; format(name, sizeof(name), GetName(playerid)); INI_WriteString(File,"Owner", VehicleInfo[vehID][vOwner] = name); stock GetName(playerid) { new name[24]; GetPlayerName(playerid, name, 24); if(playerid == INVALID_PLAYER_ID) name = "Disconnected / Offline"; return name; }