Pomoc Log/Reg System

Započeo Neumije Skriptat., Februar 08, 2018, 17:23:30 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

Detaljan opis problema: Znaci radio sam u skripti kako i covijek na YT-u i nakon toga idem compile i 
Dio skripte: https://pastebin.com/7faLuD82 moja cijela skripta
Neke slike/video za lakse dobivanje pomoci(neobavezno): //
Erori:
E:\Users\ALEN\Desktop\school\gamemodes\oldbalkan.pwn(36) : error 031: unknown directive
(40) : error 001: expected token: ")", but found "-identifier-"
(49) : error 025: function heading differs from prototype
(50 -- 51) : error 029: invalid expression, assumed zero
(52) : error 010: invalid function or declaration
(53) : error 010: invalid function or declaration
(54) : error 010: invalid function or declaration
(55) : error 010: invalid function or declaration
(56) : error 010: invalid function or declaration
(57) : error 010: invalid function or declaration
(60 -- 61) : error 029: invalid expression, assumed zero
(59) : error 010: invalid function or declaration
(86) : error 026: no matching "#if..."
(111) : error 035: argument type mismatch (argument 1)
(112 -- 113) : error 035: argument type mismatch (argument 1)
(112 -- 113) : error 001: expected token: ")", but found ";"
(114) : warning 217: loose indentation
(114) : error 017: undefined symbol "DIALOG_STAYLE_INPUT"
(115) : warning 217: loose indentation
(115) : error 029: invalid expression, assumed zero
(115 -- 116) : warning 215: expression has no effect
(116) : error 001: expected token: ";", but found "else"
(116) : error 029: invalid expression, assumed zero
(116) : fatal error 107: too many error messages on one line
Poslednja Izmena: Februar 08, 2018, 20:01:50 POSLE PODNE od Łuk@
GO HARD OR GO HOME !

 ;)
Poslednja Izmena: Februar 08, 2018, 17:27:37 POSLE PODNE od AdzoXx

Ovako makni #endif , i na pocetku dodaj #pragma tabsize 0
Dalje cu ti posle jer sam na tel pa moram 1 po 1
Linija 116, izostavio si/dodao neki , ili neki slican znak kolko mi sr cini
Poslednja Izmena: Februar 08, 2018, 17:36:51 POSLE PODNE od Balsa.


enum pInfo
(
    pPass,
    pCash,
    pAdmin,
    pScore,
    pBankmoney,
    pBanned
)


Ovo gore zameni ovim

enum pInfo
{
    pPass,
    pCash,
    pAdmin,
    pScore,
    pBankmoney,
    pBanned
};


#endif obrisi
Ne treba ti pragma tabsize 0

DIALOG_STYLE_INPUT


Umesto

DIALOG_STAYLE_INPUT


Edit opet

Zasto si negde koristio ( i ) a ne { i }?
Poslednja Izmena: Februar 08, 2018, 17:43:40 POSLE PODNE od σgí

"I choose to have faith, because without that, I have nothing."


Sada ima 17erora
esktop\school\gamemodes\oldbalkan.pwn(48) : error 025: function heading differs from prototype
E:\Users\None-\Desktop\school\gamemodes\.pwn(49 -- 50) : error 029: invalid expression, assumed zero
E:\Users\None-\Desktop\school\gamemodes\n.pwn(51) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(52) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(53) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\v.pwn(54) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(56) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(59 -- 60) : error 029: invalid expression, assumed zero
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(58) : error 010: invalid function or declaration
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(107) : error 035: argument type mismatch (argument 1)
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(108 -- 109) : error 035: argument type mismatch (argument 1)
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(108 -- 109) : error 001: expected token: ")", but found ";"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(110) : warning 217: loose indentation
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(111) : warning 217: loose indentation
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(111) : error 029: invalid expression, assumed zero
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(111 -- 112) : warning 215: expression has no effect
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(112) : error 001: expected token: ";", but found "else"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(112) : error 029: invalid expression, assumed zero
GO HARD OR GO HOME !

Eto, valjda je to to.
Obrisi
[pawn]
sa vrha skripte, meni ostalo greskom
Poslednja Izmena: Februar 08, 2018, 17:58:31 POSLE PODNE od σgí

"I choose to have faith, because without that, I have nothing."


nisi dobro stavio
GO HARD OR GO HOME !

Ja mislim da kod forwarda Load_UserData ne ide ) nego }
Takodje i kod stocka UserPath ide } a ne )
Edit:Ako me nisi razumio stavi ovako

forward LoadUser_data(plaxerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Password",PlayerInfo[playerid][pPass]);
    INI_Int("Cash",PlayerInfo[playerid][pCash]);
    INI_Int("Admin",PlayerInfo[playerid][pAdmin]);
    INI_Int("Score",PlayerInfo[playerid][pScore]);
    INI_Int("Bankmoney",PlayerInfo[playerid][pBankmoney]);
    INI_Int("Banned",Player nfo[playerid][pBanned]);
    return 1;
}
stock UserPath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(strig,sizeof(string),PATH,playername);
    return string;
}
Poslednja Izmena: Februar 08, 2018, 18:21:26 POSLE PODNE od AdzoXx

https://pastebin.com/BNzCEwC5 zaboravio sam da stavim url.
Obrisi sa vrha ono sto sam napisao gore. @Filipovic Scripting

"I choose to have faith, because without that, I have nothing."


Jos mi izbacuje erore tj 5erora
E:\Users\None-\Desktop\school\gamemodes\oldbalkan.pwn(48) : error 025: function heading differs from prototype
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 017: undefined symbol "Player"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 017: undefined symbol "nfo"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : warning 215: expression has no effect
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 001: expected token: ";", but found "]"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : fatal error 107: too many error messages on one line
GO HARD OR GO HOME !

INI_Int("Banned",Player nfo[playerid][pBanned]);

Zameni sa

INI_Int("Banned",PlayerInfo[playerid][pBanned]);

"I choose to have faith, because without that, I have nothing."


Citat: Filipovic Scripting poslato Februar 08, 2018, 18:40:52 POSLE PODNE
Jos mi izbacuje erore tj 5erora
E:\Users\None-\Desktop\school\gamemodes\oldbalkan.pwn(48) : error 025: function heading differs from prototype
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 017: undefined symbol "Player"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 017: undefined symbol "nfo"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : warning 215: expression has no effect
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : error 001: expected token: ";", but found "]"
E:\Users\None-\Desktop\school\gamemodes\None-.pwn(55) : fatal error 107: too many error messages on one line

Pogledaj malo logicki
nfo" naÄ'i gde ti je to i stavi "info"
error 001: expected token: ";", but found "]" Zagradal ili tacka zarez...
Tako i ostalo

Izbacuje mi erore na 114 liniji
(114) : error 029: invalid expression, assumed zero
(114) : warning 215: expression has no effect
(114) : warning 215: expression has no effect
(114) : warning 215: expression has no effect
(114) : error 001: expected token: ";", but found ")"
(114) : error 029: invalid expression, assumed zero
(114) : fatal error 107: too many error messages on one line
GO HARD OR GO HOME !

#define DIALOG_REGISTER

Zameni sa

#define DIALOG_REGISTER 1

"I choose to have faith, because without that, I have nothing."


(124) : error 017: undefined symbol "INI_writeInt"
(125) : error 017: undefined symbol "INI_writeInt"
(126) : error 017: undefined symbol "INI_writeInt"
(127) : error 017: undefined symbol "INI_writeInt"
(301) : error 017: undefined symbol "inputttext"
(301) : error 017: undefined symbol "DIALOG_REGISTER_STYLE_INPUT"
(301) : fatal error 107: too many error messages on one line


STAVIO SAM I SADA MI IZBACUJE OVE ERORE
GO HARD OR GO HOME !