Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 12/03/18 in Posts

  1. 1 point
  2. italians dont play, you require 15 forum members to sign a petition in order to have a langauge board created. accept this comment as the start of your petition. react to this post with a 💙 . When this post reaches 15 a italian board will progress
    1 point
  3. give voice an all language in this platform, and, if spanish have a forum in non-english, why don't italian ? i suppot the motion.
    1 point
  4. Hey, I'll just reply here rather than creating new thread. I have a problem where i use Player Connected and Player Disconnected event, PlayerConnected does not trigger PlayerDisconnected crash server when leaving, it also leaves log: System.Reflection.TargetParameterCountException: Parameter count mismatch. at object[] System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(object obj, BindingFlags invokeAttr, Binder binder, object[] parameters, CultureInfo culture) Did something changed with the parameters for PlayerDisconnected? using GTANetworkAPI; namespace roleplay { class ConnectionHandler : Script { [ServerEvent(Event.PlayerConnected)] public void OnPlayerConnected(Client player) { NAPI.Util.ConsoleOutput("Connected"); } [ServerEvent(Event.PlayerDisconnected)] public void OnPlayerDisconnected(Client player, DisconnectionType type, string reason) { switch (type) { case DisconnectionType.Left: NAPI.Chat.SendChatMessageToAll("~b~" + player.Name + "~w~ has quit the server."); break; case DisconnectionType.Timeout: NAPI.Chat.SendChatMessageToAll("~b~" + player.Name + "~w~ has timed out."); break; case DisconnectionType.Kicked: NAPI.Chat.SendChatMessageToAll("~b~" + player.Name + "~w~ has been kicked for " + reason); break; } } } } Anyone with the same bug? I don't use this events anywhere else in project.
    1 point
  5. using System; using RAGE; namespace rageclient { public class Beast : Events.Script { public void DoBeastShit() { RAGE.Chat.Output("Clientside c# is beast"); } } } epic sauce code for you all
    1 point
  6. super epic gorge, better never be such epic release again
    1 point
  7. Are u here too? Back to samp pls expose your motivations, classic Italian mind closed as in all Italian communities.
    1 point
×
×
  • Create New...