06.01.2011, 18:43
I need help with my gun system, this one sucks.. and all messed up, i need help to a better code
and i have dcmd gun 24,25,26,27 etc all the way up to 34 and it just gives error and stuff.. so please help
pawn Код:
dcmd_gun 24(playerid, params[])
{
if(sscanf(params, "d", pid)) return SendClientMessage(playerid, Yellow,"Usage: /gun <id> (24-34)");
SendClientMessage(playerid, Green, "You equipped Desert Eagle");
GivePlayerWeapon(playerid, 24, 1500);
return 1;
}