TokyoMD Posted April 16 Report Posted April 16 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: Quote 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; } Quote
0 ASGOOD Posted April 17 Report Posted April 17 #define SCM SendClientMessage, ideal ar fii sa cauti si daca nu gasesti sa intrebi, nu vice-versa Quote
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:
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.