Jadeclon Posted July 20, 2018 Posted July 20, 2018 (edited) I already converted the begining, but I dont know how to convert "sender.name" NAPI.Chat.SendChatMessageToPlayer(sender, string.Format("~r~" + sender.name + " ~g~ist bereits Admin Rang {0}!", rank)); //Edit: Never mind, I just had to write the first letter of "name" big Edited July 20, 2018 by Jadeclon
Ember Posted July 20, 2018 Posted July 20, 2018 (edited) that would just be player.Name https://wiki.gtanet.work/index.php?title=Client Edited July 20, 2018 by Mafiya
Zellcore Posted September 28, 2018 Posted September 28, 2018 The title is interesting but the question and the answer do not satisfy me. Anyway. I keep hearing that moving your GTMP Server to RageMP is very easy. You can use stuff like the bridge. But isn't the bridge intended to bring GTA:N to Rage? So while those project probably diverged, is it still usable? I mean they have the same base somehow. So maybe you would need to refactor some calls? (Someone told me about Java. I know there is an API for Java. But how could Java possibly help to port from GTMP-C# to RageMP?!)
MrPancakers Posted September 28, 2018 Posted September 28, 2018 19 minutes ago, Zellcore said: The title is interesting but the question and the answer do not satisfy me. Anyway. I keep hearing that moving your GTMP Server to RageMP is very easy. You can use stuff like the bridge. But isn't the bridge intended to bring GTA:N to Rage? So while those project probably diverged, is it still usable? I mean they have the same base somehow. So maybe you would need to refactor some calls? (Someone told me about Java. I know there is an API for Java. But how could Java possibly help to port from GTMP-C# to RageMP?!) There are bound to be some GT-MP functions that may be slightly different, but otherwise they should relatively be the same, all you’d have to do is find and replace any names that error for example by Java I’m sure you mean Javascript, that’s what is used clientside if you’re using the bridge and I believe GT-MP also has Javascript clientside? That could be widely different though, I’ve never used GT-MP but GT-MP is the same base as GTA:N because they took it before it was open source and started their own client, that’s why it’d be similar. 2
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