Quote:
Originally Posted by FalconX
pawn Код:
public OnPlayerRequestSpawn(playerid) { if( GetPlayerSkin( playerid ) == 230 && PlayerInfo[playerid][pAdmin] < 100 ) { SendClientMessage(playerid, COLOR_GREY, "This is a restricted class!" ); return 0; } return 1; }
public OnPlayerSpawn( playerid ) { if( GetPlayerSkin( playerid ) == 230 ) { GameTextForPlayer(playerid, "~y~OG Gangsta's", 2000, 3); SetPlayerPos(playerid, 1129.0776, -1488.1957, 22.7690); SetPlayerFacingAngle(playerid, 0.7288); SetPlayerCameraPos(playerid, 1129.1257,-1476.7831,22.7690); SetPlayerCameraLookAt(playerid, 1129.0983, -1485.8500, 22.7690); SetPlayerVirtualWorld(playerid, 1); } return 1; }
|
Thank you so much, works perfectly.
+Rep'd.
Edit: I see you script for $$. I will be in touch soon.