18.10.2014, 17:27
pawn Код:
CMD:duel(playerid, params[])
{
new dueloid;
if(sscanf(params,"i", dueloid))
return SendClientMessage(playerid,Cinza,"use: /duel <1-2>");
if(dueloid > 2 || dueloid < 1)
return SendClientMessage(playerid,Cinza,"use: /duel <1-2>");
GivePlayerWeapon(playerid, dueloid == 1 ? (27) : (31), 9999);
GivePlayerWeapon(playerid, dueloid == 1 ? (33) : (25), 9999);
return 1;
}