Résolu Ou faut-il mettre cet foncion (RPC) AW 1.05

Statut
N'est pas ouverte pour d'autres réponses.

MaximeLH

Membre
Inscription
4 Novembre 2012
Messages
725
Réactions
193
Points
7 283
RGCoins
50
Bonjour je vous demande a ce qui si connaissent un minimum en codage pour me guider
Mon probleme et que je ne sais pas ou il faut mettre cette fonction et qu'elle est sont utilité :
  1. public static void iPrintlnBold(int client, string text)
  2. {
  3. SV_GameSendServerCommand(client, "c \"" + text + "\"");
  4. }
  5. public static void iPrintln(int client, string text)
  6. {
  7. SV_GameSendServerCommand(client, "e \"" + text + "\"");
  8. }
  9. public static void SV_GameSendServerCommand(int client, string command)
  10. {
  11. Call(0x432BCC, client, 0, command + "\"");
  12. }
  13. public static uint Cbuf_AddText = 0x38FBDC;//CbufAddText
  14. public static void ExecuteCommand(int client, string command)
  15. {
  16. Call(Cbuf_AddText, new object[] { 0, command });
  17. }
  18. public static void setBlur(Int32 transitionTime)
  19. {
  20. SV_GameSendServerCommand(0, "i _ " + transitionTime + " ");
  21. }
  22. public static void Kick(int client)
  23. {
  24. SV_GameSendServerCommand(client, "v \" Kick" + client + "\"");
  25. }
  26. public static void SetVision(int clientIndex, string Vision)
  27. {
  28. SV_GameSendServerCommand(clientIndex, "J \"" + Vision + "\" ");
  29. }
  30. public static void Playsound(int clientIndex, string SoundName)
  31. {
  32. SV_GameSendServerCommand(clientIndex, "h \"" + SoundName + "\" ");
  33. }

Merci beaucoup si vous pouvez m'aider et BONNE ANNEE 2015 ^^
 
Apprendre le C#
Source de CoD.
Avec ça tu pourra savoir ce que ça fait et comment l'utiliser ;)
 
Apprendre le C#
Source de CoD.
Avec ça tu pourra savoir ce que ça fait et comment l'utiliser ;)
Merci !
 
Statut
N'est pas ouverte pour d'autres réponses.
Retour
Haut