07-09-2012, 14:50
Pages: 1 2
07-09-2012, 14:50
07-09-2012, 17:24
(07-09-2012, 14:50)Yamato Wrote: [ -> ]Basically because is the same
Not fully, because in yours there isn't ( )
Have any other ide to make it work for an object and for player together? (not same time, just pick up or a object or player with the same key)
A new question also here: is there any tool to get the specified model name when I am aiming on it?
I mean when I am aiming on a sentry then the mod will print to my screen:
This is a "sentry_minigun" model.
07-09-2012, 18:55
(07-09-2012, 17:24)TheRaZ Wrote: [ -> ](07-09-2012, 14:50)Yamato Wrote: [ -> ]Basically because is the same
Not fully, because in yours there isn't ( )
Have any other ide to make it work for an object and for player together? (not same time, just pick up or a object or player with the same key)
A new question also here: is there any tool to get the specified model name when I am aiming on it?
I mean when I am aiming on a sentry then the mod will print to my screen:
This is a "sentry_minigun" model.
That forge mod code I gave before worked for me sometime ago
07-10-2012, 02:02
Whoever coded that obviously doesn't know about the while keyword. :p
07-10-2012, 04:58
(07-10-2012, 02:02)master131 Wrote: [ -> ]Whoever coded that obviously doesn't know about the while keyword. :p
Had the same thought.
Code:
for(;!self useButtonPressed() && isDefined(entity);)
Code:
while (!self useButtonPressed() && isDefined(entity))
07-10-2012, 07:33
Do I need to replace all the for(;xxx;) to while (xxx), except the first for(;;) ?
07-10-2012, 14:19
(07-10-2012, 07:33)TheRaZ Wrote: [ -> ]Do I need to replace all the for(;xxx to while (xxx), except the first for(; ?
Of course not. Its just a cosmetical thing.
Pages: 1 2