26.09.2017, 15:44
Quote:
Can't tell if it's a bug or not. I can only tell that it's working for me on Linux and my PC, more I cannot say.
You can try running a test server with no plugins, and only one test gamemode with this function on your VPS. If it doesn't work for you then, it's a bug that should be possible to reproduce somehow. |
Код:
timer... foreach(new playerid: Player) { if(!IsPlayerLogged{playerid} || GetPlayerState(playerid) == PLAYER_STATE_WASTED || IsPlayerNPC(playerid)) continue; if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT) { new obj = GetPlayerCameraTargetDynObject(playerid); if(obj != INVALID_OBJECT_ID) { for(new x = 0; x < MAX_OBJECTS; x++) { if(IsValidDynamicObject(LootData[x][lId]) && obj == LootData[x][lId]) { return ShowPlayerInfo(playerid, LootData[x][lName], "Press Left '~yellow~Alt~white~' to pick up the item"); } ...... ... ... ..