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;
}