AddPlayerClassEx problems...
#3

Just do this :
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
 SetPlayerInterior(playerid,14);
 SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
 SetPlayerFacingAngle(playerid, 270.0);
 SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
 SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);

 if(classid == 0)
 {
  ...
 }
 if(classid == 1)
 {
  ...
 }
 ......
 return 1;
}
You get the point.
Also, don't forget to SetPlayerInterior(playerid, 0) on player spawn :P
Reply


Messages In This Thread
AddPlayerClassEx problems... - by Ash. - 10.07.2010, 07:46
Re: AddPlayerClassEx problems... - by Ash. - 10.07.2010, 08:12
Re: AddPlayerClassEx problems... - by ViruZZzZ_ChiLLL - 10.07.2010, 08:14
Re: AddPlayerClassEx problems... - by Ash. - 10.07.2010, 08:16
Re: AddPlayerClassEx problems... - by ViruZZzZ_ChiLLL - 10.07.2010, 08:18
Re: AddPlayerClassEx problems... - by Ash. - 10.07.2010, 08:20
Re: AddPlayerClassEx problems... - by ViruZZzZ_ChiLLL - 10.07.2010, 08:25
Re: AddPlayerClassEx problems... - by Ash. - 10.07.2010, 08:26
Re: AddPlayerClassEx problems... - by ViruZZzZ_ChiLLL - 10.07.2010, 08:28
Re: AddPlayerClassEx problems... - by Ash. - 10.07.2010, 08:30

Forum Jump:


Users browsing this thread: 2 Guest(s)