my characters spawn in cj hosue help!
#3

Quote:
Originally Posted by nuriel8833
Quote:
Originally Posted by stud4125
ok well i gave this guy my script and ask him if he can put 3 skin id's to spawn in cj house but he made them all to spawn there but i ask him to fix it but he says he doesn't have time so can y'all help me please i can fix it!!!

give me the public OnPlayerRequestClass
ok here it is
Код:
public OnPlayerRequestClass(playerid, classid)
{

	gPlayerClass[playerid] = classid;

	switch (classid) {

		case 0,1,2,3,4:

		  {

				GameTextForPlayer(playerid, "~p~FBI", 1000, 6);

			}

	  case 5,6,7,8,9,10,11,12:

	    {

				GameTextForPlayer(playerid, "~b~LSPD", 1000, 6);

			}

			case 13,14,15,16,17,18:

		  {

		  	GameTextForPlayer(playerid, "~g~Medic and Fireman", 1000, 6);

			}

			case 19,20,21:

		  {
		  	GameTextForPlayer(playerid, "~g~UF", 1000, 6);

			}
			case 22,23,24:
			{
				GameTextForPlayer(playerid, "~y~ LSA", 1000, 6);

			}
			case 25,26,27:
			{
				GameTextForPlayer(playerid, "~B~ SoS", 1000, 6);

			}
			case 28,29,30:
			{
				GameTextForPlayer(playerid, "~Green~ TBK", 1000, 6);

			}
			case 31,32,33,34,35,36,37,38,39,40:
			{
				GameTextForPlayer(playerid, "~Green~ Civilian", 1000, 6);
			}
	}
  SetPlayerPos(playerid, 2469.5981,-1640.4302,18.6913);
  SetPlayerFacingAngle(playerid, 180.1068);
  SetPlayerCameraPos(playerid, 2471.4749,-1644.8549,17.7152);
  SetPlayerCameraLookAt(playerid, 2469.5981,-1640.4302,18.6913);
  SetPlayerVirtualWorld(playerid, 5);
  return 1;
}
Reply


Messages In This Thread
my characters spawn in cj hosue help! - by stud4125 - 26.07.2009, 06:04
Re: my characters spawn in cj hosue help! - by nuriel8833 - 26.07.2009, 06:06
Re: my characters spawn in cj hosue help! - by stud4125 - 26.07.2009, 06:08
Re: my characters spawn in cj hosue help! - by stud4125 - 26.07.2009, 06:09
Re: my characters spawn in cj hosue help! - by stud4125 - 26.07.2009, 06:35
Re: my characters spawn in cj hosue help! - by BP13 - 26.07.2009, 09:12
Re: my characters spawn in cj hosue help! - by XtremeChio - 26.07.2009, 09:17
delete Please - by stud4125 - 26.07.2009, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)