SA-MP Forums Archive
Server connected. Server Closed - 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: Server connected. Server Closed (/showthread.php?tid=322086)



Server connected. Server Closed - FreedomtoLive - 29.02.2012

I just put in a game mode, running from my pc, connects to gamemode, then after closes connection

any idea why?

It's after I register with /register imanoob

then it says Registered! you are now logged in!
Server closed connection.


Re: Server connected. Server Closed - Mike_Peterson - 29.02.2012

Love your registration system, register then get the f... out, nah just kidding.
Show the /register command?


Re: Server connected. Server Closed - iTorran - 29.02.2012

Use SetSpawnInfo before SpawnPlayer


Re: Server connected. Server Closed - FreedomtoLive - 29.02.2012

Quote:
Originally Posted by iTorran
Посмотреть сообщение
Use SetSpawnInfo before SpawnPlayer
C:\Users\SAMP\Desktop\MyServer\gamemodes\NG-RP.pwn(936) : error 017: undefined symbol "ToJob"
C:\Users\SAMP\Desktop\MyServer\gamemodes\NG-RP.pwn(1080) : error 076: syntax error in the expression, or invalid function call

When in pawno I do...


pInfo[playerid][pSex] = 1;
SendClientMessage(playerid, COLOR_YELLOW,"* Okay, so you are a male!");
SendClientMessage(playerid, COLOR_OTHER, "Thank you for filling this question, now let's play!");
SendClientMessage(playerid, COLOR_OTHER, "If you need some help, type /help.");
RegistrationUpd[playerid] = 999;
SetSpawnInfo;
SpawnPlayer(playerid);
TogglePlayerControllable(playerid,1);
pInfo[playerid][pCop] = 0;
pInfo[playerid][pFBI] = 0;
pInfo[playerid][pMafia1] = 0;
pInfo[playerid][pMafia2] = 0;
DoC[playerid] = 0; SD[playerid] = 0;
return 0;

Is that right? or do I need something


Re: Server connected. Server Closed - iTorran - 01.03.2012

https://sampwiki.blast.hk/wiki/SetSpawnInfo