SA-MP Forums Archive
[Unsolved]Class Selection dont comes - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Unsolved]Class Selection dont comes (/showthread.php?tid=125953)



[Unsolved]Class Selection dont comes - [WSM]Deadly_Evil - 06.02.2010

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



Re: Class Selection dont comes - [WSM]Deadly_Evil - 06.02.2010

Bump !


Re: Class Selection dont comes - MadeMan - 06.02.2010

Show your OnPlayerRequestClass.


Re: Class Selection dont comes - [WSM]Deadly_Evil - 06.02.2010

Код:
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;
}



Re: Class Selection dont comes - [WSM]Deadly_Evil - 07.02.2010

Bump!


Re: Class Selection dont comes - Onyx09 - 07.02.2010

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


Re: Class Selection dont comes - [WSM]Deadly_Evil - 07.02.2010

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