Error Need Help
#1

Hello friends

every player on my server gets this crash errror on teleport or when they click on spawn i dont knw what to do no errors in game mode it doesnt crashes when i try server on lan can anybody help me about this ?


https://ibb.co/dkMdNJ
Reply
#2

We can't help you without your gamemode script or filterscripts.

Try removing actors from your scripts.
Reply
#3

Quote:
Originally Posted by m3shys
Посмотреть сообщение
We can't help you without your gamemode script or filterscripts.

Try removing actors from your scripts.
How to remove actors bruh?
Reply
#4

First off. There a problem with your code OnPlayerSpawn.
If you can't post the code there will be no help as requested.
run CrashDetect - https://sampforum.blast.hk/showthread.php?tid=262796
Reply
#5

public OnPlayerSpawn(playerid)
{
new string[256];
ResetPlayerWeapons(playerid);

KillTimer(afkwaittimer[playerid]);
KillTimer(damagedafktimer[playerid]);
damagedafk[playerid] =0;
afkwait[playerid] =0;

if(PlayerInfo[playerid][pClassSelection] > 0)
{
Kick(playerid);
return 1;
}
if(jpInfo[playerid][OwnedHouses] > 0)
{
SetTimerEx("JakSpawnHome", 1000, false, "d", playerid);
}
PlayerInfo[playerid][pSpawned] = 1;


if(jpInfo[playerid][OwnedHouses] == 1)
{
new x = PlayerInfo[playerid][pHouseID];
hInfo[x][h_OwnerID] = playerid;
SaveHouse(x);
}

TextDrawHideForPlayer(playerid, DM_StartStyle0);
TextDrawHideForPlayer(playerid, DM_StartStyle1);
TextDrawHideForPlayer(playerid, DM_StartStyle4);
TextDrawHideForPlayer(playerid, DM_StartStyle5);
TextDrawHideForPlayer(playerid, DM_StartStyle6);

SetPVarInt(playerid, "AdminProtect", 0);

if(WeaponsSay[playerid] == 1)
{
PlayerInfo[playerid][pLotto] =0;
GameTextForPlayer(playerid,string,1000,4);
SendClientOnScreenText(playerid,MOTD);
WeaponsSay[playerid] =0;
SendClientMessage(playerid,COLOR_SERVER_HELP_MSG, ""LIGHTBLUE"Type "RED"/weapons "LIGHTBLUE" to Choose Weapons Kits.");
}

This is it or more ?
Reply
#6

anyone ?
Reply
#7

hlo ?
Reply
#8

someone hlp pls
Reply
#9

spam more
Reply
#10

**Removed**
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)