19.04.2012, 14:06
So I keep getting an error "error 035: argument type mismatch (argument 1)"
The error is on this line.
Basicly what it is I send a WeaponID like CheckWeaponID(weaponid) in a command.
Then this checks the weaponID with a file, but im having trouble trying to get this to work.
Any ideas?
+Rep for someone who helps.
The error is on this line.
pawn Код:
if(strcmp(weaponid, string) == 0) // < < < THIS LINE
{
fclose(file);
return 1;
}
Then this checks the weaponID with a file, but im having trouble trying to get this to work.
Any ideas?
+Rep for someone who helps.