Vokaj

Vokaj pawno help

Jul 31st, 2024 (edited)
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 3.11 KB | Gaming | 0 0
  1.     switch(dialog)
  2.     {
  3.         if(!response) return Kick(playerid);
  4.         if(response)
  5.         {
  6.             if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", "Unesite vasu lozinku:", "Registruj se", "Odustani");
  7.             new INI:File = INI_Open(UserPath(playerid));
  8.             INI_SetTag(File, "data");
  9.             INI_WriteInt(File, "Lozinka", udb_hash(inputtext));
  10.             INI_WriteInt(File, "Novac",  25000);
  11.             INI_WriteInt(File, "Level", 2);
  12.             INI_WriteInt(File, "Respekti", 0);
  13.             INI_WriteInt(File, "Admin", 0);
  14.             INI_Close(File);
  15.             SpawnPlayer(playerid);
  16.             GivePlayerMoney(playerid, 25000);
  17.             SetCameraBehindePlayer(Playerid);
  18.         }
  19.     }
  20.     case DIALOG_LOGIN:
  21.     {
  22.         if(!response) return Kick(playerid);
  23.         if(response);
  24.         {
  25.             if(udb_hash(inputtext) ==PlayerInfo[playerid][pLozinka]}
  26.             {
  27.                 INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra=ture, .extra=playerid);
  28.  
  29. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(39) : warning 217: loose indentation
  30. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(101) : warning 217: loose indentation
  31. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(103) : warning 217: loose indentation
  32. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(103) : error 029: invalid expression, assumed zero
  33. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(104) : warning 217: loose indentation
  34. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(105) : warning 202: number of arguments does not match definition
  35. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(107) : warning 217: loose indentation
  36. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(288) : error 002: only a single statement (or expression) can follow each "case"
  37. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(288) : warning 215: expression has no effect
  38. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(288) : error 001: expected token: ";", but found "return"
  39. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(289) : warning 225: unreachable code
  40. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(304) : warning 209: function "S@@_OnDialogResponse" should return a value
  41. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(305) : error 010: invalid function or declaration
  42. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(307) : error 010: invalid function or declaration
  43. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(308) : error 010: invalid function or declaration
  44. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(310) : error 010: invalid function or declaration
  45. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(312) : error 021: symbol already defined: "INI_ParseFile"
  46. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(312) : error 017: undefined symbol "playerid"
  47. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(312) : error 010: invalid function or declaration
  48. C:\Users\Jakov\Desktop\samp server\gamemodes\KurcinaRP.pwn(312 -- 315) : fatal error 107: too many error messages on one line
  49.  
  50.  
Advertisement
Add Comment
Please, Sign In to add comment