Dm Spawn Rep+
#6

pawn Код:
dcmd_joindm(playerid, params[])
{
    if(IsPlayerInDM[playerid] == true)
    {
        SendClientMessage(playerid,-1,"You are already in a DM event!");
    }
    else
    {
        SetPlayerPos(playerid, POS HERE);
                SetPlayerInterior(playerid, InteriorIDHERE);
        SendClientMessage(playerid,-1,"You are not in a DM event, Good luck!");
        IsPlayerInDM[playerid] = false;
    }
    return 1;
}
Something like this?

P.S: just reverse it slightly, Instead of IsPlayerInDM[playerid] true , change true to False on the /leavedm command.
Reply


Messages In This Thread
Dm Spawn Rep+ - by Aloushi - 06.04.2012, 16:16
Re: Dm Spawn Rep+ - by $$inSane - 06.04.2012, 16:17
Re: Dm Spawn Rep+ - by ViniBorn - 06.04.2012, 16:34
Re: Dm Spawn Rep+ - by DR3AD - 06.04.2012, 16:44
Re: Dm Spawn Rep+ - by Sh@rp Kil|er - 16.05.2012, 20:47
Re: Dm Spawn Rep+ - by CyberSnaak - 16.05.2012, 21:09

Forum Jump:


Users browsing this thread: 1 Guest(s)