Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(201) : error 017: undefined symbol "UserPath"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(203) : error 017: undefined symbol "UserPath"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(204) : error 017: undefined symbol "DIALOG_LOGIN"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(205) : warning 217: loose indentation
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(205) : error 029: invalid expression, assumed zero
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(207) : error 017: undefined symbol "DIALOG_REGISTER"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : warning 217: loose indentation
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : error 029: invalid expression, assumed zero
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(212) : error 004: function "S@@_OnPlayerDisconnect" is not implemented
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(214) : error 017: undefined symbol "UserPath"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 029: invalid expression, assumed zero
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : warning 215: expression has no effect
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 001: expected token: ";", but found ")"
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : error 029: invalid expression, assumed zero
- C:\Users\linsco\Desktop\Mod od 0\gamemodes\testam.pwn(215) : fatal error 107: too many error messages on one line
- Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
- 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
- public OnPlayerConnect(playerid)
- {
- if(fexist(UserPath(playerid))
- {
- INI_ParseFile(UserPath(playerid),"LoadUser_%s",.bExtra = true,.extra = playerid);
- ShowPlayerDialog(playerid,DIALOG_LOGIN,DIALOG_STYLE_INPUT,"Login:","Upisite vasu lozinku","Login","Izadji");
- else
- {
- ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registracija:","Upisite vasu lozinku","Register ","Izadji");
- }
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new INI:File = INI_Open(UserPath(playerid));
- INI_SetTag(File,="data");
- INI_WriteInt(File,"Cash",GetPlayerMoney(playerid));
- INI_Close(File);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment