SA-MP Forums Archive
How to fix object bug? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Client Support (https://sampforum.blast.hk/forumdisplay.php?fid=16)
+--- Thread: How to fix object bug? (/showthread.php?tid=326546)



How to fix object bug? - SignificantRoleplay - 17.03.2012

The Title says it, What i mean is the movable object if i do /go the gate will randomly fly off but on 0.3c It works fine on 0.3d it dosent if i need 0.3d plugins and inicludes mind puting them in a folder for me please? thanks mate


Re: How to fix object bug? - MaximumGaming - 20.03.2012

LOL Your using NGG SCRIPT! NOOB


Re: How to fix object bug? - new121 - 20.03.2012

Quote:
Originally Posted by MaximumGaming
Посмотреть сообщение
LOL Your using NGG SCRIPT! NOOB
You are too, check out this post and compare it to the code below.

http://forum.sa-mp.com/showpost.php?...86&postcount=4

also just to prove it further more here is the same snipet from the ngg code

pawn Код:
CMD:admin(playerid, params[])  {
    if(PlayerInfo[playerid][pAdmin] >= 2) {
        if(!isnull(params)) {

            new
                szMessage[128];

            if(PlayerInfo[playerid][pAdmin] == 2) format(szMessage, sizeof(szMessage), "* Junior Admin %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 3) format(szMessage, sizeof(szMessage), "* General Admin %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 4) format(szMessage, sizeof(szMessage), "* Senior Admin %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 1337) format(szMessage, sizeof(szMessage), "* Head Admin %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 1338) format(szMessage, sizeof(szMessage), "* Server Manger %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 99998) format(szMessage, sizeof(szMessage), "* Co-Executive Admin %s: %s", GetPlayerNameEx(playerid), params);
            else if(PlayerInfo[playerid][pAdmin] == 99999) format(szMessage, sizeof(szMessage), "* Executive Admin %s: %s", GetPlayerNameEx(playerid), params);
            else format(szMessage, sizeof(szMessage), "* Undefined Admin (%i) %s: %s", PlayerInfo[playerid][pAdmin], GetPlayerNameEx(playerid), params);

            SendAdminMessage(COLOR_RED, szMessage);
            Log("logs/adminchat.log", szMessage);
        }
        else SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/a)dmin [admin chat]");
    }
    return 1;
}