27.11.2014, 04:55
OK I'll do it fast
Open Pawno>Hit ctrl+n
ADD
now scroll down at last
we gonna make the cmd
now type
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
Open Pawno>Hit ctrl+n
ADD
Code:
#include <a_samp> #include <zcmd>
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; }
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