- 0
Am Nevoie De Ajutor error 035: argument type mismatch (argument 2)
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
TokyoMD
Am nevoie de ajutor la acest script nu inteleg de ce imi da error.
C:\Users\Nu-ti trebuie\Desktop\SA-MP.MINIGAME.MD\gamemodes\SA-MP.MINIGAME.MD.pwn(40) : error 035: argument type mismatch (argument 2)
C:\Users\Nu-ti trebuie\Desktop\SA-MP.MINIGAME.MD\gamemodes\SA-MP.MINIGAME.MD.pwn(43) : error 035: argument type mismatch (argument 2)
C:\Users\Nu-ti trebuie\Desktop\SA-MP.MINIGAME.MD\gamemodes\SA-MP.MINIGAME.MD.pwn(46) : error 035: argument type mismatch (argument 2)
C:\Users\Nu-ti trebuie\Desktop\SA-MP.MINIGAME.MD\gamemodes\SA-MP.MINIGAME.MD.pwn(50) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.10.10 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Script:
CMD:w(playerid, params[])
{
new weaponid, ammo;
if(sscanf(params, "ii", weaponid, ammo))
return SCM(playerid, COLOR_RED, "Foloseste: /weapon [ID], [AMMO]");
if(weaponid < 1 || weaponid > 46 || weaponid == 18)
return SCM(playerid, COLOR_RED, "Nu Exista Arma Cu Acest [ID]");
if (ammo < 1)
return SCM(playerid, COLOR_RED, "Nu Poti Sa Ai O Arma Cu 0 Gloante");
GivePlayerWeapon(playerid, weaponid, ammo);
SCM(playerid, COLOR_GREEN, "Bucurate De Arma");
return 1;
}
0 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now