Disabling Commands In DM
#3

Show us your script where it's can't spawn cars

To disabled it's very easy

pawn Код:
new InDM[MAX_PLAYERS]; // we declare the params

public OnPlayerConnect(playerid)
{
    InDM[playerid] = 0; // This will reset the params
    return 1;
}

CMD:veh(playerid, params[])
{
    if(InDM[playerid] == 0) return SendClientMessage(playerid, -1, "You are not allowned to use this command right now");
    return 1;
}
Reply


Messages In This Thread
Disabling Commands In DM - by Threshold - 26.11.2012, 01:50
Re: Disabling Commands In DM - by dr.lozer - 26.11.2012, 05:24
Re: Disabling Commands In DM - by RenSoprano - 26.11.2012, 05:35
Re: Disabling Commands In DM - by cosbraa - 26.11.2012, 07:05

Forum Jump:


Users browsing this thread: 1 Guest(s)