[FilterScript] Health & armour cmds [6 cmds]
#1

Another easy filterscript by me coz Im just a beginner and want to help other people
plz no bad criticism as Im 13 and dnt wanna deal with it

cmds:

/heal
/halflife
/kill

/armour
/halfarmour
/ noarmour

link:
http://pastebin.com/6xdEY8Kp

enjoy even tho it's simple
Reply
#2

lol... good for new users.. i Guess
Reply
#3

Quote:
Originally Posted by Shockey
Посмотреть сообщение
Another easy filterscript by me coz Im just a beginner and want to help other people
plz no bad criticism as Im 13 and dnt wanna deal with it

cmds:

/heal
/halflife
/kill

/armour
/halfarmour
/ noarmour

link:
http://pastebin.com/6xdEY8Kp

enjoy even tho it's simple
the first cmds i ever did now im editing carlitos for my own server, nice work
Reply
#4

Nice work for the first time
Reply
#5

This is usefull. Good script.
Reply
#6

What they say
My first script ever was a BIG FAIL. If you started the FS, the whole server just stopped
Nice job Shockey!
Reply
#7

Have you guys even seen this code? Clicked on the pastebin link?
Sorry, but this code looks like a fail.

pawn Код:
if (strcmp("/armour", cmdtext, true, 10) == 0)
}
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1000);
{
return 1;
 return SendClientMeassage(playerid, 0xffffffaa "you now have full armour");
What the heck?

Correct would be:
pawn Код:
if(strcmp("/armour",cmdtext,7) == 0)
{
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1000);
SendClientMeassage(playerid, 0xffffffaa "you now have full armour");
return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)