28.04.2012, 15:44
eu queria tipo assim:
PMs serem em um lugar, e civis em outro. Mas assim n da certo, como devo fazer?
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0,1,2,3,4,5: GameTextForPlayer(playerid, "~g~LSPD", 1000, 3);
}
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);
switch(classid)
{
case 6,7,8,9,10,11: GameTextForPlayer(playerid, "~w~Civiu", 1000, 3);
}
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,1,1,1.1);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
return 1;
}