22.06.2015, 04:15
(
Последний раз редактировалось justice96; 22.06.2015 в 06:07.
)
I know it, but. I never use 'mapandreas' to be server include & plugin. Better you tell me what is the function of mapandreas or the airdop will be spawned around san andreas? you forgot to add random rewards and can be claimed like this.
I forgot to share weapons random:
Код:
new rewards; rewards = random(3); switch(rewards) { case 0: { new cashrandom=random(15000); GivePlayerCash(playerid,cashrandom); SendClientMessage(playerid, COLOR_CYAN, "[INFO]: You have received a random cash."); } case 1: { new weaprandom = random(sizeof(WeaponsRandom)); GivePlayerWeapon(playerid, WeaponsRandom[weaprandom][0], WeaponsRandom[weaprandom][1]); SendClientMessage(playerid, COLOR_CYAN, "[INFO]: You have received a random weapons."); } case 2: { SetPlayerArmour(playerid, 50.0); SendClientMessage(playerid, COLOR_CYAN, "[INFO]: You have received a half armour."); } }
Код:
new const WeaponsRandom[][] = { // do something };