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