English Buy script

1 reply
Goto Page
To the start Previous 1 Next To the start
30.07.14 01:34:50 am
Up
jeremias
User
Offline Off
Thanks all for help, Edited!
edited 3×, last 30.07.14 04:23:53 am
30.07.14 02:18:32 am
Up
limonata
User
Offline Off
Here is the code. I hope it'll help you.

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
addhook("say","_say")
function _say(id,txt)
     if txt == "@kit" then
          if player(id,"team") == 1 then
               parse("equip "..id.." ".. 73)
               parse("equip "..id.." "..51)
               msg2(id,"Items were taken!")
               return 1
          else
               msg2(id,"©255000000You must be terrorist to use this command!")
               return 1
          end
     end
end
To the start Previous 1 Next To the start