#1

I scripted a few cmds but, a example
Quote:

CMD:armour(playerid, params[])
{
if (IsPlayerAdmin(playerid))
SetPlayerArmour(playerid, 100.00); return SendClientMessage(playerid, -1, "You Succesfully used armour.");
return 1;
}

When I do /armour even I am not logged in as a admin, a Message appears "You Succesfully used armour." but Armour doesn't come becuase he is not admin, I hope someone can help me how to, when a random player types /armour it says "SERVER:UNKNOWN COMMAND". because if a random players now types /armour it says "You Succesfully used armour." wich is not true
Reply


Messages In This Thread
help - by saffierr - 14.07.2014, 09:00
Re: help - by Stinged - 14.07.2014, 09:03
Re: help - by Jstylezzz - 14.07.2014, 09:04
Re: help - by Jack_Leslie - 14.07.2014, 09:04
Re: help - by saffierr - 14.07.2014, 09:10
Re: help - by Jack_Leslie - 14.07.2014, 09:13
Re: help - by saffierr - 14.07.2014, 09:28
Re: help - by Jack_Leslie - 14.07.2014, 09:37
Re: help - by Stinged - 14.07.2014, 09:48
Re: help - by saffierr - 14.07.2014, 11:10

Forum Jump:


Users browsing this thread: 2 Guest(s)