2 Bad Issues :(
#1

1. My Server log is showing this.

Code:
[16:01:07] Script[gamemodes/bus.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
Ok, my server is working perfectly except for one thing, saving. It doe snot have any compile errors. It just does not save. I dont know whats wrong!

Heres my save.

pawn Code:
public Save(playerid)
{
    if(playerdata[playerid][logged]==1)
    {
        new svname[25], querys[600];
        GetPlayerName(playerid,svname,sizeof(svname));
        format(querys,sizeof(querys),"UPDATE `accounts` SET `level`='%d',`Joins`='%d',`Kills`='%d',`Kicks`='%d',`Deaths`='%d'",playerdata[playerid][level],playerdata[playerid][Joins],playerdata[playerid][Kills],playerdata[playerid][Kicks],playerdata[playerid][Deaths], svname);
        mysql_query(querys);
    }
    return 1;
}
Do i have some code wrong? Am i telling it to update a table that does not exist or what? Its done this on every gm ive made. :S
Reply
#2

NVM about the save issue i fixed it but i still have the bad entry point issue.
Reply
#3

Plz help :S
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)