Change view in class selection? [SOLVED! THANX FOR UR HELP!] - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Change view in class selection? [SOLVED! THANX FOR UR HELP!] (
/showthread.php?tid=95711)
Change view in class selection? [SOLVED! THANX FOR UR HELP!] -
-.- Haha -.- - 04.09.2009
Hi!!!

I was trying to make a script, that shows another view of a place in gta when you choose another character in class selection... but...

My script, has 9 errors in one line...
I AM A BIT*H in scripting!

Can somebody pls pls pls help m with a script like that?? pls pls pls?

THANX

cya
Re: Change view in class selection? -
Cayman_5 - 04.09.2009
Place your Script here!
Re: Change view in class selection? -
-.- Haha -.- - 04.09.2009
Quote:
Originally Posted by Cayman_5
Place your Script here!
|
ayay... i deleted it because it doesn't work ^^
pls pls pls? help me?
Re: Change view in class selection? -
_Vortex - 04.09.2009
I'm guessing you have the teams defined..
Код:
//On the bottom of your script..
CamPositions(playerid, classid)
//Diffrent cam positions for each team
{
switch(classid)
{
case 0:
{
SetPlayerPos(playerid,...);
SetPlayerFacingAngle(playerid,270);
SetPlayerCameraPos(playerid,...);
SetPlayerCameraLookAt(playerid,...);
}
case 1:
{
SetPlayerPos(playerid,...);
SetPlayerFacingAngle(playerid,...);
SetPlayerCameraPos(playerid,...);
SetPlayerCameraLookAt(playerid,...);
}
}
}
//Under "OnPlayerRequestClass"
CamPositions(playerid, classid);
Re: Change view in class selection? -
Cayman_5 - 04.09.2009
OK!!!!!!
Re: Change view in class selection? -
-.- Haha -.- - 04.09.2009
Quote:
Originally Posted by [B
Vortex ]
I'm guessing you have the teams defined..
Код:
//On the bottom of your script..
CamPositions(playerid, classid)
//Diffrent cam positions for each team
{
switch(classid)
{
case 0:
{
SetPlayerPos(playerid,...);
SetPlayerFacingAngle(playerid,270);
SetPlayerCameraPos(playerid,...);
SetPlayerCameraLookAt(playerid,...);
}
case 1:
{
SetPlayerPos(playerid,...);
SetPlayerFacingAngle(playerid,...);
SetPlayerCameraPos(playerid,...);
SetPlayerCameraLookAt(playerid,...);
}
}
}
//Under "OnPlayerRequestClass"
CamPositions(playerid, classid);
|
U are my LOVELY! ^^ not reAL, but thank u veeeeeeeeeeeeeeeeeery muck for this XDDDXDXDXDXDXDXDXDX thanx thanx thanx
cya

and thanx XD
Re: Change view in class selection? [SOLVED! THANX FOR UR HELP!] -
_Vortex - 04.09.2009
Rofl, no problem