Anderl
Members-
Posts
2,266 -
Joined
-
Last visited
Everything posted by Anderl
-
You can do it with tables. aCars = { ['xxldoener'] = createVehicle ( 541, x, y, z ), ['Draken'] = createVehicle ( 541, x, y, z ); }
-
Não existe, se você quiser, terá de fazer. O da TG foi criado pelos scripters do clan ( Arezu, NeXtreme, etc ).
-
Só mudar a porta do servidor.
-
Que eu saiba, isso tem haver com o recurso "freeroam" pois no modo Race, a cor não muda.
-
Em todos os servidores fica cor que o jogador quiser lol Não precisa de recurso nenhum, se é que eu entendi você.
-
Pode explicar melhor? Eu não entendi o que você está precisando.
-
And you should not say things that I didn't say.
-
I understood. I meant, I think good scripters don't work for free. Free scripters aren't good.
-
£0? I don't think a good scripter can script for that price.
-
wow so useful EDIT : I was reading that link, when I got a doubt : function Account.withdraw (self, v) self.balance = self.balance - v end "self" is like the word "this" on C#? Second question : function Account:withdraw (v) This is like a inheritance property? Example: function Account:withdraw ( v ) if ( v ) then self.balance = self.balance - v; -- self is 'Account' in function name, 'Account' should be a table of account data ( like account pointer ) 'cause you're calling index 'balance' on self end end
-
It's MTA MySQL module function, but it has same name of PHP MySQL function.
-
Forcing it for every player is totally not acceptable If they do that, I will not play MTA anymore lol My pc sucks, if they put modified cars my fps will decrease to 5 lol
-
lol When I put that name I didn't even know you. Only later someone said me that were there one guy on SAUR with name Dwayne. And Dwane is not Dwayne
-
I am sure that all players will replace their files if they get a chance. I won't. Modified cars sucks, I prefer default ones. They are much better.
-
Lua is function-oriented language, not object-oriented language. But you can use metatables and create your class system or use the class system that Kenix gave us in this topic: http://pastebin.com/vRpVbcDy It's a "simulation" of C++ class system. // If something is wrong, correct me please.
-
Sure, is that, all changes are saved in memory and only when you do xmlSaveFile it will be saved to the file, but it will continue in memory while you don't unload file.
-
Off-topic:I never said that he is noob, that should not post those scripts here. I understand what do you mean, death666machine. You can also check out my old post before Castillo post, I just don't like when Castillo goes and start complaining his enemies.
-
seb:>, you don't know nothing of what's happening here. The problem is that this guy thinks that is the best, he thinks he is "famous" because he fix guy's codes when someone need help. Guru should know all 'cause he is Guru level. This is the way to go down with your name, do you understand seb:>? How can a Guru don't know how to make that shit he asked in this forum? You don't even know the things he says by PM, really, I laugh with those guys that thinks are the best. By a view point, Kenix is right. If I understood what that resource does, this have been already made and posted here but a bit different and it's really easy to do, but that's ok, the guy made the script, if we don't like, we don't post or just tell him, so, next time maybe he makes better. I don't know why do you continue complainning people Solidsnake, can't you just shut up and leave others alone? lol I can't see one post where Castillo doesn't do that with Kenix. -- If you do know OOP, why don't you show your proof? Just like you said me to show my proofs in languages that I know just 'cause you only know LUA language. Or maybe you should not show because I don't know if the code is really yours haha Now, CAN YOU STOP GUYS? LET'S STOP THAT!
-
Like you? I don't know how can you be a Guru. Guru should not ask things like you did, Guru should know the fucking EASY AND SIMPLE thing you asked here. Like AeroXbird said, that's the way to keep up your name. You should not complain others, look at you first. Now, let's stop that.
-
XML should be used for coordinates and those basics things too like radar areas ( eg: for gangwar modes ), etc. You should not use XML to save player information as it will have big size ( > 1mb if you do have much players ).
-
t = { a, b = 1, 4 } print ( t.a, t.b ); This is not variable declaration lol Table must have that form: t = { index1 = value1, index2 = value2, index3 = value3, -- or ['index1'] = value1, ['index2'] = value2, ['index3'] = value3; } print ( t.index1, t['index1'], t.index2, t['index2'] ); --[[ Output: nil nil nil nil -- This is outputting 'nil' because index's values are nil variables So, if we change the table to t = { index1 = 2, index2 = 'lol', index3 = "FUCK YEAH", -- or ['index1'] = 2, ['index2'] = 'lol', ['index3'] = "FUCK YEAH"; } Output: 2 2 lol lol Note: You should not use equal indexes, I just put indexes with same name to show you the 2 ways to write the indexes ]]-- I hope you do understand that.
-
Element data should be used for simple things like if you're using your own account system, you can use element data on player pointer and use like: element data - "alreadyLogged" Value - true/false. MySQL is for big things like saving player informations, resources infos... Do you understand? I don't know if this is what do you wanna know, so, if it's not, sorry
-
Same with me. I`m still awaiting for account activation for 2.5 months.
-
Fuck, you guys make me jealous My computer sucks.
