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
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#12
RE: Сode

(02-23-2013, 11:04 PM)darksky Wrote: 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);
}

Yes, that would be better :p Good thinkin'
02-24-2013, 02:05 AM
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: 4 Guest(s)