Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Сode
darksky Offline
Member

Posts: 52
Threads: 8
Joined: Nov 2012
Reputation: 2
#11
RE: Сode

if you only call GetButtonPressed with "PressButton_1" ,"PressButton_2",... wouldn't it be better to make the function like this?

string GetButtonPressed(string entity)
{
    return StringSub(entity, 12, 1);
}
(This post was last modified: 02-23-2013, 11:05 PM by darksky.)
02-23-2013, 11:04 PM
Find


Messages In This Thread
Сode - by nightsxp - 02-23-2013, 11:40 AM
RE: Сode - by MulleDK19 - 02-23-2013, 11:42 AM
RE: Сode - by PutraenusAlivius - 02-23-2013, 11:46 AM
RE: Сode - by MulleDK19 - 02-23-2013, 11:47 AM
RE: Сode - by FlawlessHappiness - 02-23-2013, 11:48 AM
RE: Сode - by nightsxp - 02-23-2013, 12:03 PM
RE: Сode - by The chaser - 02-23-2013, 12:51 PM
RE: Сode - by MulleDK19 - 02-23-2013, 12:55 PM
RE: Сode - by Tiger - 02-23-2013, 12:52 PM
RE: Сode - by NaxEla - 02-23-2013, 06:12 PM
RE: Сode - by nightsxp - 02-24-2013, 02:22 PM
RE: Сode - by darksky - 02-23-2013, 11:04 PM
RE: Сode - by NaxEla - 02-24-2013, 02:05 AM
RE: Сode - by tonitoni1998 - 02-24-2013, 04:05 AM



Users browsing this thread: 1 Guest(s)