10.10.2013, 02:10
pawn Code:
public OnPlayerRequestClass(playerid,classid)
{
if(skine[playerid] >= 1) return OnPlayerSpawn(playerid);
SetPlayerPos(playerid,251.0581,-63.1020,11.7210);
SetPlayerFacingAngle(playerid,356.9788);
SetPlayerCameraPos(playerid,251.0978,-60.9160,14.7210);
SetPlayerCameraLookAt(playerid,251.0581,-63.1020,11.7210);
new a[20];
format(a,20,"~r~Skin: ~w~%d",classid);
GameTextForPlayer(playerid,a,3000,6);
skine[playerid] = classid;
return 1;
}