[Unsolved]Class Selection dont comes
#1

I have added City Class Selection from grandlarc GM into my Game Mode
but when i choose the city it dont see the Player Class Selection and the player directly spawn when you choose the city

Anybody How to Fix that?

Код:
City Selection Code is in grandlarc GM
Reply
#2

Bump !
Reply
#3

Show your OnPlayerRequestClass.
Reply
#4

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerCameraPos(playerid, 2635.6624,2326.5103,30.9272);
	SetPlayerPos(playerid, 2635.6624,2332.5103,30.9272);
	SetPlayerFacingAngle(playerid, 180.0);
	SetPlayerCameraLookAt(playerid, 2635.6624,2332.5103,30.9272);
	PlayCrimeReportForPlayer(playerid, playerid, 3);
	GameTextForPlayer(playerid, "~r~Welcome ~y~to ~g~Wild ~b~Stunt ~w~Mania", 1500, 1);
	ApplyAnimation(playerid,"KISSING","BD_GF_Wave",4.1,0,1,1,1,1);
	PlayerPlaySound(playerid, 1068, -1121.076, -1191.143, 15);
	ShowPlayerDialog(playerid,WELCOME,DIALOG_STYLE_MSGBOX,"Hello! and Welcome ",".::: Server Rules :::.\nIf you want to stay in server please read these RULES:\nDont Spam\nNo RACISM\nDont SWEAR with anybody\nNo Hacking Allowed\nThis server is not for Noob Players\nDont Flame anybody\nBe an Good Person\nRespect Players and Admins\nBe wise!! Accepting is Good! Deny is Bad!","Decline","Accept");
	if(gPlayerHasCitySelected[playerid]) {
		ClassSel_SetupCharSelection(playerid);
		return 1;
	} else {
		if(GetPlayerState(playerid) != PLAYER_STATE_SPECTATING) {
			TogglePlayerSpectating(playerid,1);
  		TextDrawShowForPlayer(playerid, txtClassSelHelper);
  		gPlayerCitySelection[playerid] = -1;
		}
 	}
	return 1;
}
Reply
#5

Bump!
Reply
#6

i have the solution for this but you spawm too much so !!!!!
Reply
#7

See the Rules
Код:
You can bump topics when the last reply is at least 12 hours old.
And tell me what to do
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)