Crash on connect
#1

Hello, I have made my own Gamemode, ehm, around 1500 lines..

When you connect, it shows all the game text "welcome to the server" etc etc.

But then you just crash!

Im using a Objectstreamer (MidoStream) and it has around 8000+ objects.

I dont know why you crash.

Here's my GameModes OnPlayerConnect:

pawn Code:
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
format(string, sizeof(string), "CONNECT: %s has joined the server",playername);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);
SendClientMessage(playerid,COLOR_GREEN,"Welcome to Xtreme Stunting!");
SendClientMessage(playerid,COLOR_GREEN,"Please report all bugs to the admins (/admins).");
GivePlayerMoney(playerid,50000);
GameTextForPlayer(playerid, "Welcome to the Server!",5000,5);
TextDrawShowForAll(Textdraw0);
TextDrawShowForPlayer(playerid, Text:InfoLoading);
Why am I crashing? Is it the streamer?
Reply


Messages In This Thread
Crash on connect - by Klutty - 17.06.2009, 20:31
Re: Crash on connect - by Luka P. - 17.06.2009, 20:48
Re: Crash on connect - by Klutty - 17.06.2009, 21:15
Re: Crash on connect - by Luka P. - 17.06.2009, 21:16
Re: Crash on connect - by Klutty - 17.06.2009, 21:23
Re: Crash on connect - by Luka P. - 17.06.2009, 21:23
Re: Crash on connect - by Klutty - 17.06.2009, 21:42
Re: Crash on connect - by Luka P. - 17.06.2009, 21:48
Re: Crash on connect - by Klutty - 17.06.2009, 21:53
Re: Crash on connect - by Luka P. - 17.06.2009, 21:54

Forum Jump:


Users browsing this thread: 1 Guest(s)