SA-MP Forums Archive
spawn 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)
+--- Thread: spawn help (/showthread.php?tid=460608)



spawn help - BoU3A - 29.08.2013

im trying making a gamemode but i have problem

when i join i can spawn but i dont see the skins

look here




Re: spawn help - Giroud12 - 29.08.2013

Maybe u not add
pawn Код:
addplayerclass



Re: spawn help - BoU3A - 29.08.2013

i add it


Re: spawn help - BoU3A - 29.08.2013

Код:
    AddPlayerClass(0,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(1,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(2,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(20,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(30,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(35,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(100,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(111,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(99,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(66,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(77,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(88,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(55,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
    AddPlayerClass(44,1963.9553,-2198.1382,13.5469,359.4341,24,1000,26,1000,34,1000);
Код:
public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1963.9553,-2198.1382,13.5469);
	SetPlayerCameraPos(playerid, 1963.8767,-2194.6641,13.5469);
	SetPlayerCameraLookAt(playerid, 1963.8767,-2194.6641,13.5469);



Re: spawn help - BoU3A - 29.08.2013

help!


Re: spawn help - BoU3A - 29.08.2013

omg what a noobs


Re: spawn help - Konstantinos - 29.08.2013

Quote:
Originally Posted by BoU3A
Посмотреть сообщение
omg what a noobs
Not nice..

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
The problem is in OnPlayerRequestClass callback. Change the coordinates and camera's look.

Useful: [FS] OnPlayerRequestClass Maker by RyDeR`