Grand Larceny GM help
#1

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
Reply
#2

the code in OnPlayerRequestClass
Reply
#3

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

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.
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)