SA-MP Forums Archive
[HELP] Changing Spawn background - 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: [HELP] Changing Spawn background (/showthread.php?tid=116245)



[HELP] Changing Spawn background - Evangek - 28.12.2009

hey , i got an background when i spawn , but i dont like it.
I want it so you see the air this is the id and stuff:

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,3);
SetPlayerPos(playerid,1206.9768,-32.5926,1000.9531);
SetPlayerFacingAngle(playerid,249.3010);
SetPlayerCameraPos(playerid,1209.1083,-33.8061,1000.9531);
SetPlayerCameraLookAt(playerid,1206.9768,-32.5926,1000.9531);

does anybody knows the code that you see the air ?

thanks,

Evan


Re: [HELP] Changing Spawn background - dice7 - 28.12.2009

Change the coords in SetPlayerPos and SetPlayerCameraPos. And SetPlayerCameraLookAt needs to have the same coords as SetPlayerPos


Re: [HELP] Changing Spawn background - Evangek - 28.12.2009

No , that doesnt help i see the area right now and i dont see my characters that i added , and can u help me with something else ? i always lagg when i choose characters so i want another place that you wont lagg , you know one?


Re: [HELP] Changing Spawn background - Andy_McKinley - 28.12.2009

Are you sure you have the right coцrdinates? Sometimes they are using the old one. Happend a lot.


Re: [HELP] Changing Spawn background - Evangek - 28.12.2009

I had this one from a 0.2 (Cops and robbers) script , because i dont know another good coords i want some coords that you DONT lagg and just see the air behind your character choosing.


Re: [HELP] Changing Spawn background - bluray - 28.12.2009

usually i have noticed in my server if the position is high up in the hill it takes longer for it to load while ive noticed near sea level especially LV comes quicker


Re: [HELP] Changing Spawn background - Evangek - 28.12.2009

Do you know the coords?


Re: [HELP] Changing Spawn background - [Bm]rap45 - 29.12.2009

You could use this it helped me a lot (When i started to script in pawno)

SA-MP Scripting Tutorial 3: Making The Skin Visible On Selection