[Tutorial] Making /setarmour command
#1

OK I'll do it fast

Open Pawno>Hit ctrl+n

ADD
Code:
#include <a_samp>
#include <zcmd>
now scroll down at last
we gonna make the cmd

now type

Code:
CMD:setarmour(playerid,params)
{
SetPlayerArmour(playerid, 100);
SendClientMessage(playerid, COLOR_YELLOW, "You have been given armour");
return 1;
}
ok so,
SendClientMessage will be the message which the player will get after he types /setarmour
and u need zcmd include...!
and be carefull that the first word of commandmust be capital
example
(S)end©lient(M)essage
and
setplayerarmour will set armour after you type /setarmour
TUT
Done
Bye
Reply


Messages In This Thread
Making /setarmour command - by Trollerz - 27.11.2014, 04:55
Re: Making /setarmour command - by Jonggol - 27.11.2014, 04:57
Re: Making /setarmour command - by Trollerz - 27.11.2014, 05:00
Re: Making /setarmour command - by SydthTV - 27.11.2014, 05:02
Re: Making /setarmour command - by Trollerz - 27.11.2014, 05:06
Re: Making /setarmour command - by PedexM - 27.11.2014, 12:20
Re: Making /setarmour command - by Remba031 - 13.12.2014, 10:19
Re: Making /setarmour command - by PedexM - 13.12.2014, 13:32
Re: Making /setarmour command - by Glossy42O - 13.12.2014, 13:51

Forum Jump:


Users browsing this thread: 1 Guest(s)