Sorry I just took the line it told me it was wrong, anyway;
I already update before posting, anyway, here's the real code:
Code:
public Native_GetNameFromPlayerID(Handle:plugin, numParams)
{
if(g_hUser != INVALID_HANDLE && GetArraySize(g_hUser) > GetNativeCell(1))
{
decl String:sName[MAX_NAME_LENGTH];
GetArrayString(g_hUser, GetNativeCell(1), sName, sizeof(sName));
SetNativeString(2, sName, GetNativeCell(3));
}
}
but anyway I think got a hint:
Code:
ALTER TABLE `maps` CHANGE `MapPlaytime` `MapPlaytime` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `players` CHANGE `Playtime` `Playtime` INT(11) NOT NULL DEFAULT '0';
ALTER TABLE `maps` CHANGE `LastPlayed` `LastPlayed` INT(11) NOT NULL DEFAULT '0';
does this change anything or even, where should I put It.