Make an object appear with a command.
#4

nope,

zcmd
pawn Код:
CMD:disable(playerid,params[])
{
for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
return 1;
}
strcmp

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/disable", cmdtext, true, 10) == 0)
    {
        for(new i=0; i<MAX_PLAYER_ATTACHED_OBJECTS; i++)
        if(IsPlayerAttachedObjectSlotUsed(playerid, i)) RemovePlayerAttachedObject(playerid, i);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Make an object appear with a command. - by KellyG - 23.05.2013, 01:04
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 01:36
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 06:28
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 06:43
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 07:06
Re : Make an object appear with a command. - by KellyG - 23.05.2013, 07:47
Re: Make an object appear with a command. - by Strier - 23.05.2013, 07:58
Re: Make an object appear with a command. - by Guest123 - 23.05.2013, 08:52

Forum Jump:


Users browsing this thread: 2 Guest(s)