disable /fix command in certain area.
#1

Here is my /fix command, its dcmd. How can I disable it in for example a DM zone?

PHP код:
dcmd_fix(playeridparams[])
{
    
#pragma unused params
    
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playeridCOLOR_WHITE"You are not in a vehicle!");
    
RepairVehicle(GetPlayerVehicleID(playerid));
    
SendClientMessage(playeridCOLOR_WHITE"Your vehicle has been successfully repaired!");
    return 
1;

Reply


Messages In This Thread
disable /fix command in certain area. - by Gemini - 13.09.2011, 18:24
Re: disable /fix command in certain area. - by Wesley221 - 13.09.2011, 18:27
Re: disable /fix command in certain area. - by =WoR=Varth - 13.09.2011, 18:36
Re: disable /fix command in certain area. - by Gemini - 13.09.2011, 19:40
Re: disable /fix command in certain area. - by Gemini - 13.09.2011, 19:45
Re: disable /fix command in certain area. - by [MWR]Blood - 13.09.2011, 19:46
Re: disable /fix command in certain area. - by Marricio - 13.09.2011, 19:46

Forum Jump:


Users browsing this thread: 1 Guest(s)