Errors
#1

Код:
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18299) : warning 215: expression has no effect
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 029: invalid expression, assumed zero
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : warning 215: expression has no effect
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 001: expected token: ";", but found "]"
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 029: invalid expression, assumed zero
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : fatal error 107: too many error messages on one line
Код:
 18229 -------------------> GetPlayerNameEx(playerid, sendername, sizeof(sendername));
                            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                            ShowPlayerDialog(giveplayerid, 981, DIALOG_STYLE_MSGBOX, "Pokana za vo Org/Banda/Mafija","Gospodine jas te pokanuvam da bides moj clen i da rabotis za mene vo organizacijata\n-Dokolku prifakjate pritisnete 'Prifakjam'\n-Dokolku odbivate pritisnete 'Odbivam'","Prifakjam","Odbivam");
18302---------------------->Pokana[giveplayerid] = 1;
			    return 1;
                        }
                    }
                }
            }
        }
        return 1;
    }
Reply
#2

can som1 help me ? DAMN
Reply
#3

well i can help with Pokana[giveplayerid] = 1; to Pokana[playerid] = 1; if helpped +rep
Reply
#4

Quote:
Originally Posted by ThePrograme
Посмотреть сообщение
well i can help with Pokana[giveplayerid] = 1; to Pokana[playerid] = 1; if helpped +rep
Undefined simbol giveplayerid ?
Reply
#5

define it by adding
pawn Код:
#define giveplayerid
Reply
#6

or try using the missing brackets finder, maybe you have errors cause of brackets, look at it through this link: https://sampforum.blast.hk/showthread.php?tid=171429

if helped please +rep
Reply
#7

Quote:
Originally Posted by Omar Amir
Посмотреть сообщение
define it by adding
pawn Код:
#define giveplayerid


learn to script first then help people..

----------------------------------------------------

your GetPlayerNameEx looks have another parameters and it returns the name directly.

anyway replace
pawn Код:
GetPlayerNameEx(playerid, sendername, sizeof(sendername));
to
pawn Код:
GetPlayerName(playerid, sendername, sizeof(sendername));
about Pokana[giveplayerid] = 1;

i believe you have new Pokana; not new Pokana[MAX_PLAYERS];

so replace
pawn Код:
new Pokana;
to
pawn Код:
new Pokana[MAX_PLAYERS];
Reply
#8

Quote:
Originally Posted by imnoob
Посмотреть сообщение
Код:
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18299) : warning 215: expression has no effect
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 029: invalid expression, assumed zero
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : warning 215: expression has no effect
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 001: expected token: ";", but found "]"
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 029: invalid expression, assumed zero
H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : fatal error 107: too many error messages on one line
Код:
 18229 -------------------> GetPlayerNameEx(playerid, sendername, sizeof(sendername));
                            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                            ShowPlayerDialog(giveplayerid, 981, DIALOG_STYLE_MSGBOX, "Pokana za vo Org/Banda/Mafija","Gospodine jas te pokanuvam da bides moj clen i da rabotis za mene vo organizacijata\n-Dokolku prifakjate pritisnete 'Prifakjam'\n-Dokolku odbivate pritisnete 'Odbivam'","Prifakjam","Odbivam");
18302---------------------->Pokana[giveplayerid] = 1;
			    return 1;
                        }
                    }
                }
            }
        }
        return 1;
    }
Why do you have "return 1;" twice?

Change to this.

pawn Код:
18229 -------------------> GetPlayerNameEx(playerid, sendername, sizeof(sendername));
                            GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
                            ShowPlayerDialog(giveplayerid, 981, DIALOG_STYLE_MSGBOX, "Pokana za vo Org/Banda/Mafija","Gospodine jas te pokanuvam da bides moj clen i da rabotis za mene vo organizacijata\n-Dokolku prifakjate pritisnete 'Prifakjam'\n-Dokolku odbivate pritisnete 'Odbivam'","Prifakjam","Odbivam");
18302---------------------->Pokana[giveplayerid] = 1;
                return 1;
                        }
                    }
                }
            }
        }
        return 0;
    }

That will fix the-..

Quote:

H:\FreakWorld RPG Macedoniaa\gamemodes\Copy (2) of FW - Copy.pwn(18302) : error 029: invalid expression, assumed zero

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)