SA-MP Forums Archive
Error Need Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error Need Help (/showthread.php?tid=655996)



Error Need Help - Strider1997 - 04.07.2018

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


Re: Error Need Help - m3shys - 04.07.2018

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

Try removing actors from your scripts.


Re: Error Need Help - Strider1997 - 05.07.2018

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?


Re: Error Need Help - DerickClark - 05.07.2018

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


Re: Error Need Help - Strider1997 - 05.07.2018

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 ?


Re: Error Need Help - Strider1997 - 05.07.2018

anyone ?


Re: Error Need Help - Strider1997 - 05.07.2018

hlo ?


Re: Error Need Help - Strider1997 - 28.07.2018

someone hlp pls


Re: Error Need Help - Netherland - 28.07.2018

spam more


Re: Error Need Help - Heress - 28.07.2018

**Removed**