Guest User

Untitled

a guest
Oct 26th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(201) : error 017: undefined symbol "UserPath"
  2. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(203) : error 017: undefined symbol "UserPath"
  3. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(204) : error 017: undefined symbol "DIALOG_LOGIN"
  4. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(205) : warning 217: loose indentation
  5. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(205) : error 029: invalid expression, assumed zero
  6. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(207) : error 017: undefined symbol "DIALOG_REGISTER"
  7. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : warning 217: loose indentation
  8. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : error 029: invalid expression, assumed zero
  9. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : error 004: function "S@@_OnPlayerDisconnect" is not implemented
  10. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(214) : error 017: undefined symbol "UserPath"
  11. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 029: invalid expression, assumed zero
  12. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : warning 215: expression has no effect
  13. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 001: expected token: ";", but found ")"
  14. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 029: invalid expression, assumed zero
  15. C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : fatal error 107: too many error messages on one line
  16.  
  17. Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
  18. Ispod su errori to sve ne znam kako da popravim pa sam vam se javio inace prekopirao sam ceo onplayerconnect a nista nisam imao kod mene samo return :D
  19.  
  20. public OnPlayerConnect(playerid)
  21. {
  22. if(fexist(UserPath(playerid))
  23. {
  24. INI_ParseFile(UserPath(playerid),"LoadUser_%s",.bExtra = true,.extra = playerid);
  25. ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login:","Upisite vasu lozinku","Login","Izadji");
  26. else
  27. {
  28. ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registracija:","Upisite vasu lozinku","Register ","Izadji");
  29. }
  30. return 1;
  31. }
  32.  
  33. public OnPlayerDisconnect(playerid, reason)
  34. {
  35. new INI:File = INI_Open(UserPath(playerid));
  36. INI_SetTag(File,="data");
  37. INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
  38. INI_Close(File);
  39. return 1;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment