Help with spawn button! -
Fredrick - 03.04.2013
Hia guys am indeed of needing help badly very badly well the spawn button is removed on my script but i want to use it how and were i get it

or what do i need to find! please reply and help me

By the way its for my Register + login system i have made.
I need to get this back
Re: Help with spawn button! -
Scenario - 03.04.2013
You probably have TogglePlayerSpectating(playerid, true) when the player connects up until the point that they login in order to HIDE that bar. So, from the moment that the player connects, to the moment that they login/spawn, search for TogglePlayerSpectating(playerid, true) and TogglePlayerSpectating(playerid, false). Remove them.
Re: Help with spawn button! -
Fredrick - 03.04.2013
i did change it to true and false there both didnt work what else, can i find to make it work! any ideas mate.
also i have it made like this but when i press male it still dont show the spawn button
Код:
SetPlayerSpawn(playerid)
{
if(IsPlayerConnected(playerid))
{
//TUTORIAL
if(PlayerInfo[playerid][pTut] == 0)
{
HideArea(playerid);
ShowGUI(playerid);
gOoc[playerid] = 1; gNewbie[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1; RegistrationStep[playerid] = 1; CanTalk[playerid] = 1;
SetPlayerPos(playerid, 1305.5662841797,-1543.8950195313,122.20141601563);
TogglePlayerControllable(playerid, 0);
SetPlayerCameraPos(playerid, 1460.0, -1324.0, 287.2);
SetPlayerCameraLookAt(playerid, 1374.5, -1291.1, 239.0);
ShowPlayerDialog(playerid, SEXMENU, DIALOG_STYLE_MSGBOX, "{00C0FF}Immigration Center - First Question","{FFFFFF}- What Is your Gender ?\n[Note : Fake Info Will get you {A80000}Perm-Banned{FFFFFF} from Immigrating to LS]", "Male", "Female");
return 1;
}
HideGUI(playerid);
if(PlayerInfo[playerid][pTut] == 1)
{
if(PlayerInfo[playerid][pSafeSpawn] == 1)
{//FINISHED TUTORIAL
SetPlayerInterior(playerid,0);
SetPlayerVirtualWorld(playerid, 0);
//SetSpawnInfo(playerid, -1, 59, 1733.1367,-1911.9568,13.5621, 1.0, -1, -1, -1, -1, -1, -1);
SetPlayerPos(playerid,1733.1367,-1911.9568,13.5621);
SetPlayerFacingAngle(playerid, 90);
SetCameraBehindPlayer(playerid);
PlayerInfo[playerid][pSafeSpawn] = 0;
StopAudioStreamForPlayer(playerid);
}
else
{//RELOGGING
HideArea(playerid);
SetPlayerArmour(playerid, PlayerInfo[playerid][pArmor]);
SetPlayerInterior(playerid, PlayerInfo[playerid][pInt]);
SetPlayerPos(playerid, PlayerInfo[playerid][pSPos_x], PlayerInfo[playerid][pSPos_y], PlayerInfo[playerid][pSPos_z]);
SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pSPos_r]);
SetCameraBehindPlayer(playerid);
StopAudioStreamForPlayer(playerid);
TextDrawHideForPlayer(playerid, SpawnClickI);
TextDrawHideForPlayer(playerid, SpawnClickII);
new string[128];
// Welcome
format(string, sizeof(string), "SERVER: {FFFFFF}Welcome to Project Gaming Roleplay {FF6347}%s{FFFFFF}.", RPN(playerid));
SendClientMessage(playerid, COLOR_NICEGREEN, string);
}
CanTalk[playerid] = 1;
SetPlayerToTeamColor(playerid);
}
}
Re: Help with spawn button! -
Scenario - 03.04.2013
Show your OnPlayerClassSelection and OnPlayerConnect callbacks.
Re: Help with spawn button! -
Fredrick - 03.04.2013
Fixed it

thanks a lot mate
god everytime i post here i can fix stuff but when i dont post i cant fix so werid haha thanks so much realcop for replying