SA-MP Forums Archive
Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Help! (/showthread.php?tid=322187)



Cmd and and no login screen not working - hazthekid - 01.03.2012

When i log in on localhost I can not talk or use /cmd and there is no login screen any clue how i can fix this ?


Re: Help! - Frank Biohazard - 01.03.2012

Because you have Grandlarc 1 added, Its a blank script, You must add a GM, or make one.


Re: Help! - hazthekid - 01.03.2012

I have my own made game mode but don't work here are the login codes and the /cmd still don't work
}

stock firstPlayerSpawn(playerid) {
playerVariables[playerid][pTutorial] = 0;
playerVariables[playerid][pFirstLogin] = 0;

playerVariables[playerid][pInterior] = 0;
playerVariables[playerid][pVirtualWorld] = 0;

SetSpawnInfo(playerid, 0, playerVariables[playerid][pSkin], playerVariables[playerid][pPos][0], playerVariables[playerid][pPos][1], playerVariables[playerid][pPos][2], 0, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);

TextDrawHideForPlayer(playerid, textdrawVariables[3]);
return 1;
}

public initiateTutorial(const playerid) {
// Clear the dialog if it still exists from the quiz...
hidePlayerDialog(playerid);

// Clear the variable storing the timer handle if it still exists from the quiz...
if(GetPVarType(playerid, "tutt") != 0)
DeletePVar(playerid, "tutt");

GetPlayerName(playerid, szPlayerName, MAX_PLAYER_NAME);

format(szMessage, sizeof(szMessage), "Welcome to "SERVER_NAME", %s.", szPlayerName);

SendClientMessage(playerid, COLOR_TEAL, "----------------------------------------------------------------------------");
SendClientMessage(playerid, COLOR_YELLOW, szMessage);
SendClientMessage(playerid, COLOR_WHITE, "Please select your style of clothing from the selection below.");

playerVariables[playerid][pTutorial] = 1;

playerVariables[playerid][pVirtualWorld] = playerid+50;

SetSpawnInfo(playerid, 0, 0, 220.4862, 1822.8994, 7.5387, 268.3423, 0, 0, 0, 0, 0, 0);
SpawnPlayer(playerid);
SetPlayerPos(playerid, 220.4862, 1822.8994, 7.5387);
SetPlayerFacingAngle(playerid, 268.3423);
TogglePlayerControllable(playerid, false);

TextDrawShowForPlayer(playerid, textdrawVariables[2]);
return 1;
}


Re: Help! - arathin - 01.03.2012

Can you talk when you log in normally? I mean without logging in as local-host.


Re: Help! - hazthekid - 01.03.2012

I can not talk in chat when I am connected to local host i do not know about not being on local host due to when it is done I am getting a 24/7 server


Re: Help! - hazthekid - 01.03.2012

[ame="http://www.youtube.com/watch?v=FcGHQj9yOj0"]http://www.youtube.com/watch?v=FcGHQj9yOj0[/ame]
here is a video i am made to show you the problems


Re: Help! - arathin - 01.03.2012

grant us permission to see the video and I will help. make it public