SA-MP Forums Archive
I need a quick 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: I need a quick help (/showthread.php?tid=358463)



I need a quick help - xSkullx - 10.07.2012

Hi everybody. I have an Race-DM-Drift-Fun server, and as soon i solve this problem i wanna lauch it. The problem:
I turn on the server, enter a player, he click on spawh, the server shutdown by his self
I turn on the server, no players enter, the server don't turn off.
Please help, thanks.



Re: I need a quick help - ZBits - 10.07.2012

you might have been missing something in scriptfiles


+rep if i helped


Re: I need a quick help - clarencecuzz - 10.07.2012

You might be missing AddPlayerClass lines.

Under OnGameModeInit() add a few or at least 1 AddPlayerClass line.
https://sampwiki.blast.hk/wiki/AddPlayerClass


Re: I need a quick help - Tuntun - 10.07.2012

it is the internet problem??i think


Re: I need a quick help - xSkullx - 10.07.2012

No internet problem, others players enter and they exit too..server shutdown..


Re: I need a quick help - Tuntun - 10.07.2012

ok.. so what you use 0.3e and the players 0.3d or some thing?


Re: I need a quick help - xSkullx - 10.07.2012

The players have too 0.3e


Re: I need a quick help - coole210 - 10.07.2012

Instead of guessing the problem, use the crashdetect plugin to give you more information of the crash.


Re: I need a quick help - xSkullx - 10.07.2012

Can you give me the download link please?


Re: I need a quick help - clarencecuzz - 10.07.2012

Change:
pawn Код:
AddPlayerClass(115,2262.8901,-1758.2415,13.5469,0.0,PISTOL,500,0,0,0,0);
To:
pawn Код:
AddPlayerClass(115,2262.8901,-1758.2415,13.5469,0.0,22,500,0,0,0,0);
See if that works.

EDIT: CHANGE ALL ADDPLAYERCLASS, NOT JUST ONE!