SA-MP Forums Archive
Help me! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help me! (/showthread.php?tid=66387)



Help me! - Hot - 21.02.2009

Everytime I die in my server it crashes :S

Could you help me?

My OnPlayerDeath :

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
FadePlayerScreen(playerid, 0xFFFFFFCC, 192); //playerid, color, time
GameTextForPlayer(playerid,"~w~OMG, CALL THE AMBULANCE!",1000,1);
SendDeathMessage(killerid, playerid, reason);
GameTextForPlayer(killerid,"~r~You Murderer!",4000,3);
return 1;
}



Re: Help me! - ICECOLDKILLAK8 - 21.02.2009

Comment out your OnPlayerDeath, See if you still crash, If you do then it might be a case of having too many objects


Re: Help me! - Hot - 21.02.2009

But I use xClient ( Streamer ) From boyllet , it is on my gamemode ( #include <xClient> ) and in the FS (MAP) ( #include <xClient> ).

What you mean with comment?


Re: Help me! - ICECOLDKILLAK8 - 21.02.2009

You dont know what a comment is?, put /* at the start of it and put */ at the end


Re: Help me! - Hot - 21.02.2009

l will try it .


Re: Help me! - Hot - 21.02.2009

( Sorry double post )

OH NO !

Dosen't work

I think its my custom map . ( I made )



Re: Help me! - Mikep - 21.02.2009

over 250 objects in an area = crash.

Streamers work by creating the objects that are within the drawdistance, so you can have unlimited objects all over the place, but not in one spot.


Re: Help me! - yom - 21.02.2009

Quote:
Originally Posted by Mikep
Streamers work by creating the objects that are within the drawdistance
Crap streamers do that, yes. The point of a streamer is to not crash the server/client with too many objects, wherever they are.