Server connected. Server Closed
#1

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.
Reply
#2

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

Use SetSpawnInfo before SpawnPlayer
Reply
#4

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
Reply
#5

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


Forum Jump:


Users browsing this thread: 1 Guest(s)