Duel help, help me to finish it please
#4

pawn Код:
CMD:duel(playerid, params[])
{
    new giveplayerid, playerb;
    if(PlayerInfo[playerid][pAdmin] < 3) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
    if(AdminDuty[playerid] != 1 && PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_GREY, "You're not on-duty as admin. To access your admin commands you must be on-duty. Type /aduty to go on-duty.");
    if(sscanf(params, "uu", giveplayerid, playerb)) return SendClientMessage(playerid, COLOR_WHITE, "[Usage]: /duel [playerid] [playerid]");
    SetPlayerPos(giveplayerid, 1413.6411, -16.8837, 1000.9249);
    SetPlayerVirtualWorld(giveplayerid, 1);
    SetPlayerInterior(giveplayerid, 1);
    PlayerInfo[giveplayerid][pInt] = 1;
    PlayerInfo[giveplayerid][pVW] = 1;
    SetPlayerPos(playerb, 1363.9401, -19.5196, 1000.9249);
    SetPlayerVirtualWorld(playerb, 1);
    SetPlayerInterior(playerb, 1);
    PlayerInfo[playerb][pInt] = 1;
    PlayerInfo[playerb][pVW] = 1;
    GivePlayerValidWeapon(giveplayerid, 24, 99999);
    GivePlayerValidWeapon(playerb, 24, 99999);
    GivePlayerValidWeapon(giveplayerid, 25, 99999);
    GivePlayerValidWeapon(playerb, 25, 99999);
    return 1;
}
Reply


Messages In This Thread
Duel help, help me to finish it please - by BarFix - 19.11.2013, 14:18
Re: Duel help, help me to finish it please - by Lajko1 - 19.11.2013, 14:20
Re: Duel help, help me to finish it please - by BarFix - 19.11.2013, 14:30
Respuesta: Duel help, help me to finish it please - by CrossOv3r - 19.11.2013, 14:41
Re: Duel help, help me to finish it please - by Lajko1 - 19.11.2013, 15:16
Re: Respuesta: Duel help, help me to finish it please - by BarFix - 19.11.2013, 15:23
Re: Duel help, help me to finish it please - by Lajko1 - 19.11.2013, 16:09

Forum Jump:


Users browsing this thread: 3 Guest(s)