29.04.2017, 02:23
(
Последний раз редактировалось FizzyWalshy; 29.06.2017 в 06:03.
)
Remove -Fixed.
new giveplayerid; new weapon[128]; new price; new gun1, gun2, gun3, prizetype, if(PlayerInfo[giveplayerid][pWantedLevel] >= 1 && PlayerInfo[giveplayerid][pWantedLevel] <= 6)) { return SendClientMessage(playerid, COLOR_GRAD3, "That player has a wanted level."); } if(sscanf(params, "uiiii", giveplayerid, gun1, gun2, gun3, prizetype, price)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /hunted [playerid/partofname] [gun] [gun2] [gun3] [prize]"); SendClientMessage(playerid, COLOR_GREY, "Available weapons: Chainsaw, Flamethrower, Rocketlauncher, Fire Extinguisher, Spas, Deagle"); SendClientMessage(playerid, COLOR_GREY, "Available prizes: Mats and Crack (400 materials, 20 crack), Jetpack, Full weaponset"); return 1; else if(gun1 > 39 || gun1 < 0) return SendClientMessage(playerid,COLOR_GRAD2," Invalid weapon id? Use weapon IDs within 0-39!"); else if(gun2 > 39 || gun2 < 0) return SendClientMessage(playerid,COLOR_GRAD2," Invalid weapon id? Use weapon IDs within 0-39!"); else if(gun1 > 39 || gun3 < 0) return SendClientMessage(playerid,COLOR_GRAD2," Invalid weapon id? Use weapon IDs within 0-39!"); } else { if(giveplayerid != playerid)) { GivePlayerValidWeapon(giveplayerid, gun, 60000); GivePlayerValidWeapon(giveplayerid, gun2, 60000); GivePlayerValidWeapon(giveplayerid, gun3, 60000); SetPlayerColor(playerid, 0xFF80FFFF); hunted = giveplayerid; Phunted[giveplayerid] = 1; } }
new gun1, gun2, gun3, prizetype,
new gun1, gun2, gun3, prizetype;
if(sscanf(params, "uiiii", giveplayerid, gun1, gun2, gun3, prizetype, price))