How to Lock&Unlock In 1 Command?
#4

pawn Код:
CMD:lock(playerid, params[])
{
if(locked[playerid] == 1)
{
FUNTION TO UN LOCK
}
else
{
FUNTION TO LOCK
locked[playerid]=0; // and put the value to 0 here
}
return 1;
}
it is done with zcmd, it's a command processor, search for it.
Reply


Messages In This Thread
How to Lock&Unlock In 1 Command? - by Raiden Dragneel - 07.04.2012, 18:48
Re: How to Lock&Unlock In 1 Command? - by Fires - 07.04.2012, 18:55
Re: How to Lock&Unlock In 1 Command? - by Raiden Dragneel - 08.04.2012, 14:14
Re: How to Lock&Unlock In 1 Command? - by emokidx - 08.04.2012, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)