Help WIth Class Selection
#1

hi there, im trying to set my class selection on top of the mansion on ls, the one near the airport, and ive got the co-ords, but it dont work! GRRR, here is my script

Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, -2037.0645,78.7500,79.3391);
	SetPlayerCameraPos(playerid, 1097.4480,-2038.9014,82.0349);
	SetPlayerCameraLookAt(playerid, 1097.4480,-2038.9014,82.0349);
	return 1;
}
Also, i am using seif admin script with the login etc etc... and i want it so it

A: saves the skin with a /saveskin command and
B: if you already have a saved skin, it takes you to a place, that you cant exit, until you /login correctly
Reply
#2

Well, you forgot to change where the camera would be, in your code its on the other side of the map..
"SetPlayerCameraLookAt" should be the same co-ordinates as "SetPlayerPos".

Hope you understand it and good luck!
Reply
#3

ok ill give it a try, and the other problems?

how would i script that?

your solution didnt work
Reply
#4

Use this:

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1097.0000,-2038.0000,82.3286);
    SetPlayerFacingAngle(playerid, 263.6);
    SetPlayerCameraPos(playerid, 1102.0000,-2038.0000,82.4022);
    SetPlayerCameraLookAt(playerid, 1097.0000,-2038.0000,82.3286);
    return 1;
}
Reply
#5

thanks, how about the other problems......
Reply
#6

Quote:
Originally Posted by TFZ
thanks, how about the other problems......
You might want to post that in the topic where you downloaded it from.
Reply
#7

they wouldnt help thats why i posted here.....
Reply
#8

Put making new posts for things that are already made is against the rules .
So i advise you the same and ask it in that topic.

/Artix
Reply
#9

well i posted there and they never replied for a week, so i started this, i only asked for help

Reply
#10

I am not saying you cant ask for help i ask you cant make new topics about stuff that is already made.
I dont want to make you feel bad or anything :P i am just trying to make you follow the rules.

/Artix
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)