25.07.2011, 05:17
ID 0 problem
25.07.2011, 05:35
I think it's a GTA SA bug or SA-MP one, maybe try to ask into the server support section?
25.07.2011, 05:43
so can I reserved id 0
25.07.2011, 05:47
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.
25.07.2011, 05:50
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.
25.07.2011, 06:08
no its a free roam
25.07.2011, 06:17
Do you use OnPlayerUpdate? If you do, post it if you can/want to. The problem could probably be coming from there.
25.07.2011, 06:22
it must be from a NPC Bot
25.07.2011, 06:42
Quote:
Do you use OnPlayerUpdate? If you do, post it if you can/want to. The problem could probably be coming from there.
|
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;
}
25.07.2011, 09:54
Maybe your script is using a timer every second and it causes ID 0 to ClearAnimations(0); Possibly..
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)