redigaffi Posted November 28, 2009 Share Posted November 28, 2009 so i have basic knowledge of pawn, and i have script my own game mode, but i have heard peopple say lua is better, i want to script my own roleplay server but i dont no in what, samp?, mta? Link to comment
0 robhol Posted November 28, 2009 Share Posted November 28, 2009 MTA is almost definitely better if you look at the features: MTA has stuff like GUI (beyond the pathetic buttons SA-MP has, I mean,) DirectX drawing, peds that don't take player slots (HEH!), TONS more ways to interact with players, vehicles, objects and the game world, and other neat features that SA-MP scripters can only dream about. As for the languages themselves, Pawn will look more familiar to people who have been coding C++, but compared to LUA, it's very limited in regards to strings, arrays and the like. Lua is a lot more dynamic and has many interesting features including easier and better control of strings and arrays. (You don't have to allocate an exact size to contain them, for example.) Take it from a former SA-MP player/scripter: Go for MTA. Link to comment
0 redigaffi Posted November 28, 2009 Author Share Posted November 28, 2009 i like it , i have hear lua & mta are more difficulter, and samp is more populare i think Link to comment
0 robhol Posted November 28, 2009 Share Posted November 28, 2009 i like it , i have hear lua & mta are more difficulter, and samp is more populare i think MTA has a lot more functions, but nobody's saying you have to learn them by heart. As I said, Pawn closely resembles C++ (and therefore similar languages, which there are tons of) and Lua doesn't. Apart from that, it's not really more difficult to learn. SA-MP is, obviously, more popular, but that's irrelevant to the Pawn VS. Lua discussion, and is covered adequately in another thread. Link to comment
0 MTA Team Blokker_1999 Posted November 28, 2009 MTA Team Share Posted November 28, 2009 When it comes down to the language itself, LUA is more used than PAWN. I've even seen commercial games using LUA scripting. When it comes down to scripting between MTA:SA and SA-MP a quick look at both mods wikis will show that MTA has a lot more functions and is most likely to be the mod with the more powerfull scripting capabilities. Link to comment
0 redigaffi Posted November 28, 2009 Author Share Posted November 28, 2009 MMM, but i wont to do my own roleplay server, are there any game mode of roleplay and i can modify it, because do it from 0 i cant, please help me Link to comment
0 madis Posted November 28, 2009 Share Posted November 28, 2009 Lua is easier for beginner, but ideologically you can do same stuff with most scripting/programming languages. MTA is more advanced than sa-mp, but if you like sa-mp better for some reason go for that one, else go for MTA. Link to comment
0 redigaffi Posted November 28, 2009 Author Share Posted November 28, 2009 no i want to change me to mta and lua, because i have see valhalla gaming roleplay and it has really great stuff i see mta arent so grat friends with roleplay, i only have see 3 roleplay servers. Link to comment
0 eAi Posted November 28, 2009 Share Posted November 28, 2009 Lua is certainly a more widely-accepted language and has been used in many games. Learning Lua is certainly more likely to be useful to you long-term than PAWN, and might even get you a job. It's also much more dynamic - which tends to make it faster and more fun to use, the downside being that you're more likely to make silly mistakes that the compiler can't catch (as with any dynamic language). Link to comment
0 subenji99 Posted November 29, 2009 Share Posted November 29, 2009 The reason there are not many roleplay servers is because MTA hasn't had a large roleplay release like SA-MP's "The Godfather Roleplay" script (and if I remember correctly, there was another one before that, too) that anyone can download, modify, and make a server from. Anyone spending the time and effort in making a good roleplay server is keeping the code to themselves. (And quite right, too, IMO) As for difficulty, in their vanilla forms, Lua is FAR easier than PAWN. Having said that, there are lots of nuances involved on coding for MTA (server vs client, element tree, event handlers and their attachments and hidden variables, conflicting resources) that take a lot of research and experience to fully understand. They're logical in their behaviour though, and offer incredible power to your code, so stick at it, experiment, and you'll understand the quirks in no time. Link to comment
0 redigaffi Posted November 29, 2009 Author Share Posted November 29, 2009 wow, this a nice reasons to change to mt , and, where can i get start, are there any game mode of roleplay where i can modify it? Link to comment
0 robhol Posted November 29, 2009 Share Posted November 29, 2009 No, not really. It looks like you'll have to start from scratch at the moment. Maybe you could start the first open-source roleplay script. Link to comment
0 redigaffi Posted November 29, 2009 Author Share Posted November 29, 2009 and where can i find the first roleplay base? i need it Link to comment
0 robhol Posted November 29, 2009 Share Posted November 29, 2009 As I already said: I don't think there is one. You'll need to start from scratch. Link to comment
0 madis Posted November 29, 2009 Share Posted November 29, 2009 I assume English is not your native. Start from scratch means start from nothing. Link to comment
0 redigaffi Posted November 29, 2009 Author Share Posted November 29, 2009 hehe, sorry, i have learn to much languages, german, spanish, catalan, english, franch. MMM, From 0, i need 8 years to do it, 7 years to learn lua, and 1 to do it Link to comment
0 madis Posted November 30, 2009 Share Posted November 30, 2009 You learn Lua basically with 1 week, depending how well you know similar languages already (c, java). Going from Pawn to Lua shouldn't be a problem, except forgetting that damn then keyword. Link to comment
0 Maccer. Posted December 5, 2009 Share Posted December 5, 2009 Learning LUA was a pain to me since the syntax was bugging the shit out of me, but eventually, the syntax wasn't that different, it just hurt in my head because of the styling. LUA is easier for beginners, PAWN is easier for people that have already coded in C-like languages. I don't think anyone should find lua difficult after working with it a bit. (Editeth: Motherfucker, I just bumped a 5 day old topic, didn't I? ) Link to comment
0 MTA Team Blokker_1999 Posted December 5, 2009 MTA Team Share Posted December 5, 2009 5 days isn't old on this forum Link to comment
Question
redigaffi
so i have basic knowledge of pawn, and i have script my own game mode, but i have heard peopple say lua is better, i want to script my own roleplay server but i dont no in what, samp?, mta?
Link to comment
19 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now