SA-MP Forums Archive
Grand Larceny GM 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: Grand Larceny GM help (/showthread.php?tid=302232)



Grand Larceny GM help - SnG.Scot_MisCuDI - 07.12.2011

im sure all of you are fimiliar with the GM grand larceny and how when u log into server it makes you pick your city. What should i delete from the GM to make it so it doesnt have you pick city


Re: Grand Larceny GM help - THE_KNOWN - 08.12.2011

the code in OnPlayerRequestClass


Re: Grand Larceny GM help - MdeRooy - 08.12.2011

Please show us your code, like what you have under OnPlayerRequestClass.


Re: Grand Larceny GM help - ricardo178 - 08.12.2011

Remove the callback:

pawn Код:
public OnPlayerRequestClass
And to add a fix spawn point, go in call back:
pawn Код:
public OnPlayerSpawn
And put:
pawn Код:
SetPlayerPos(playerid, pos-X, pos-Y, pos-Z);
Replace the coordenates with the coordenates you want.


Re: Grand Larceny GM help - SnG.Scot_MisCuDI - 08.12.2011

Okay, i did that and it worked.. But now i see the escalator when im picking a character.. It doesnt show the character so i cant tell who i am picking..

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{

    SetPlayerFacingAngle(playerid,0);
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
what are the coordinates i need to set the character in front of the camera