Posts: 7
Threads: 3
Joined: Apr 2014
Reputation:
0
It gives me error error 035: argument type mismatch (argument 3). . Why?
else if(IDArme[playerid] == 14)
{
GivePlayerWeapon(playerid, 14, inputtext); // On donne des fleurs
}
Posts: 285
Threads: 67
Joined: Apr 2014
Reputation:
0
dude show the full code or edit GivePlayerWeapon(playerid, weaponid, ammo); whats wrong with ya people check samp wiki
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
The 3rd argument of the function GivePlayerWeapon is ammo and it's integer. inputtext is string; hence you get the warning. If inputtext holds the ammo, then use strval function to convert a string to an integer.
Posts: 7
Threads: 3
Joined: Apr 2014
Reputation:
0
No offense but can not do. . Could you give an example. .?