a lil help her
#3

pawn Код:
new bool:isinDM[MAX_PLAYERS] = false;

//If the player enters the location, 'isinDM[playerid]=true;'
//If the player exits the location, 'isinDM[playerid]=false;'

CMD:dm1(playerid,params[])
{
        if (!isinDM[playerid]) return SendClientMessage(playerid, -1, "You are not in the DM location.");
        SetPlayerPos(playerid, 1133.1377,-1558.7405,22.7509);
        SetPlayerVirtualWorld(playerid, 5);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "Welcom to DM 1");
        PlayerPlaySound(playerid ,3200,0,0,0);
        SetPlayerHealth(playerid, 100);
        SetPlayerArmour(playerid, 100);
        GivePlayerWeapon(playerid, 27, 1500);
        GivePlayerWeapon(playerid, 29, 1500);
        GivePlayerWeapon(playerid, 31, 2000);
        GivePlayerWeapon(playerid, 16, 5);
        return 1;
}
Reply


Messages In This Thread
a lil help her - by I3ullet - 31.07.2012, 21:30
Re: a lil help her - by MaDK1LLA - 31.07.2012, 21:33
Re: a lil help her - by Revo - 31.07.2012, 21:36
Re: a lil help her - by I3ullet - 31.07.2012, 21:40
Re: a lil help her - by [KHK]Khalid - 31.07.2012, 22:05
Re: a lil help her - by Devilxz97 - 31.07.2012, 22:33
Re: a lil help her - by I3ullet - 31.07.2012, 23:16
Re: a lil help her - by I3ullet - 31.07.2012, 23:36
Re: a lil help her - by Devilxz97 - 31.07.2012, 23:48
Re: a lil help her - by CrazyChoco - 31.07.2012, 23:59

Forum Jump:


Users browsing this thread: 1 Guest(s)