25.08.2015, 01:41
Код:
//--------- new msg[100]; format(msg, sizeof(msg), "Good job killing %s you have earn +1 score and $1000 cash!", PlayerName2(playerid)); SendClientMessage(killerid,green,msg); GivePlayerMoney(playerid, 1000); new weaponid = GetPlayerWeapon(killerid); switch(weaponid) { case 2 .. 15: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1); case 16 .. 18: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1); case 22 .. 32: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 60); case 35 .. 46: GivePlayerWeapon(killerid, GetPlayerWeapon(killerid), 1); }