SA-MP Forums Archive
Choose City/Location On Choosing ClassrSkin - 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: Choose City/Location On Choosing ClassrSkin (/showthread.php?tid=96407)



Choose City/Location On Choosing ClassrSkin - Showman - 07.09.2009

All On Title !

I want Choosing Location/City in public SetupPlayerForClassSelection(playerid) and Spawn


Tank you


Re: Choose City/Location On Choosing ClassrSkin - Takumi.WS - 07.09.2009

Код:
  SetPlayerCameraPos(playerid, 1081.8308,-2009.3425,50.3893);
	SetPlayerCameraLookAt(playerid, 1078.7289,-2007.6274,50.3575);
	SetPlayerPos(playerid, 1078.7289,-2007.6274,50.3575);
	SetPlayerFacingAngle(playerid, 200);
Change coords


Re: Choose City/Location On Choosing ClassrSkin - Calgon - 08.09.2009

Download 'grand larceny' for 0.3, review the code there. Should also have the correct co-ordinates. They add useful and effective gamemodes to the default server packs for a reason.


Re: Choose City/Location On Choosing ClassrSkin - Showman - 08.09.2009

This is for 0.3 My mod is 0.2.x


Re: Choose City/Location On Choosing ClassrSkin - Showman - 08.09.2009




Re: Choose City/Location On Choosing ClassrSkin - dice7 - 08.09.2009

pawn Код:
public OnPlayerRequestClass

switch(classid)
{
  case 34: //a skin id
  {
    SetPlayerPos(sf);
    SetCameraPos(sf);
    SetCameraLookAt(the player pos);
  }
 
  case 0:
  {
    SetPlayerPos(sf);
    SetCameraPos(sf);
    SetCameraLookAt(the player pos);
  }

  case 45:
  {
    SetPlayerPos(sf);
    SetCameraPos(sf);
    SetCameraLookAt(the player pos);
  }
}



Re: Choose City/Location On Choosing ClassrSkin - Mustafacc - 08.09.2009

offtopic: is there anyway to create the skin choosin menu just like 0.3? it really awesome