13.10.2012, 21:09
this is the code:
The error is:
PHP код:
GivePlayerGun(playerid, dini_Int(CarFile(cehcar),"Slot1W"), dini_Int(CarFile(cehcar),"Slot1B"));
new gunid = dini_Int(CarFile(cehcar),"Slot1W");
new string[256];
new gunname = GetWeaponName(gunid,256);
format(string, sizeof(string), "%s", gunname);
mecmd(playerid, string);
dini_IntSet(CarFile(cehcar),"Slot1W",0);
PHP код:
C:\Users\G\Desktop\G\mode\server\gamemodes\1.pwn(12580) : error 035: argument type mismatch (argument 2)