21.04.2012, 12:27
Hello SA-MP,
Story: I was quite exited listening to Snoop Dogg - Boss Life and developing my project, when i find myself with an error that says:
Okay, i check and it was here:
So i went to the function to see if i did something wrong...
Now i'm hitting my head on a nail and i can't understand what's wrong.
Thanks for reading and possible help.
Story: I was quite exited listening to Snoop Dogg - Boss Life and developing my project, when i find myself with an error that says:
pawn Код:
error 035: argument type mismatch (argument 1)
pawn Код:
new checkweapon = CompareWeaponName(weapon);
pawn Код:
public CompareWeaponName(string[])
{
for (new i=1; i <= 47; i++)
{
if(strcmp(aWeaponNames[i], string, true) == 0)
{
return i;
}
}
return false;
}
Thanks for reading and possible help.