25.02.2011, 20:08
1. My Server log is showing this.
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.
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
Code:
[16:01:07] Script[gamemodes/bus.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
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;
}