English strip bug

4 replies
Goto Page
To the start Previous 1 Next To the start
01.07.15 07:21:24 pm
Up
vanyok2011
User
Offline Off
Code:
1
2
3
4
5
6
7
8
function _strip(idd)
     local itemasd=playerweapons(idd)
     for __,asdqwe in pairs(itemasd) do
          if asdqwe~=55 then
               parse("strip "..idd.." ..asdqwe")
          end
     end
end

why bomb strip too?
01.07.15 07:57:08 pm
Up
DC
Admin
Offline Off
Your parse statement shouldn't work at all because a quotation mark is missing. It must be this way:
Code:
1
parse("strip "..idd.." "..asdqwe")


btw: your variable names are hell! you should think about using meaningful names.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
01.07.15 08:09:01 pm
Up
The Gajos
BANNED
Offline Off
@user DC: I think
Code:
parse("strip "..idd.." "..asdqwe)
01.07.15 08:14:56 pm
Up
Talented Doge
User
Offline Off
user The Gajos is correct. Check syntax next time.
Talented Doge
01.07.15 08:37:45 pm
Up
DC
Admin
Offline Off
Yeah, sorry. Of course the trailing " was wrong too.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
To the start Previous 1 Next To the start