ID 0 problem
#1

In my server id 0 can't run properly rest can
please help
View My Video
Reply
#2

I think it's a GTA SA bug or SA-MP one, maybe try to ask into the server support section?
Reply
#3

so can I reserved id 0
Reply
#4

You could try using an npc as id 0. I don't know if that will work though i still aint made an npc. I heard they take player slots though so i guess it would.
Reply
#5

Its usually not only ID 0 when this happens on a server, so putting an NPC in ID 0 won't solve anything. Many people have posted this problem before, usually this happens when there is too much code inside your script. If that's that trucking GM, try reporting it on their topic because this usually happens with their GM.
Reply
#6

no its a free roam
Reply
#7

Do you use OnPlayerUpdate? If you do, post it if you can/want to. The problem could probably be coming from there.
Reply
#8

it must be from a NPC Bot
Reply
#9

Quote:
Originally Posted by PotH3Ad
Посмотреть сообщение
Do you use OnPlayerUpdate? If you do, post it if you can/want to. The problem could probably be coming from there.
yes using
pawn Код:
forward OnPlayerUpdate(playerid);
public OnPlayerUpdate(playerid){
    new name[MAX_PLAYER_NAME];
    new string[128];
    if(IsPlayerConnected(playerid) && AccInfo[playerid][Level] < 1 || AccInfo[playerid][pVip] < 1){
            GetPlayerName(playerid,name, sizeof(name));
            if(GetPlayerWeapon(playerid) == 36 ){
                format(string, sizeof(string), "proking Bot: %s (id: %d) has ben kicked. Reason: Weapon Hack",name,playerid);
                SendClientMessageToAll(COLOR_RUDY,string);
                Kick(playerid);
            }else if(GetPlayerWeapon(playerid) == 37 ){
                format(string, sizeof(string), "proking Bot: %s (id: %d) has ben kicked. Reason: Flamethrower",name,playerid);
                SendClientMessageToAll(COLOR_RUDY,string);
                Kick(playerid);
            }else if(GetPlayerWeapon(playerid) == 38 ){
                format(string, sizeof(string), "proking Bot: %s (id: %d) has ben kicked. Reason: MiniGun",name,playerid);
                SendClientMessageToAll(COLOR_RUDY,string);
                Kick(playerid);
            }
            if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
                format(string, sizeof(string), "proking Bot: %s (id: %d) has ben kicked. Reason: Jetpack",name,playerid);
                SendClientMessageToAll(COLOR_RUDY,string);
                Kick(playerid);
            }
        }
    return 1;
}
Reply
#10

Maybe your script is using a timer every second and it causes ID 0 to ClearAnimations(0); Possibly..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)