Problem.
#1

I have problem,i don't know what happing here,i go to las venturas here:



That coordinates,no exsit in my gamemode,that's why i don't understand,why i go there? for ex: when i stop spectate,i go there,or not load stats.
Reply
#2

Check your AddPlayerClass() coordinates.
Reply
#3

My mistake. ok i remove that,but now i go to coord 0.0 0.0 0.0,how to make that coordinates,in what you are? when you stop spectate,you go in that coordinates,where you been,and in others things.
Reply
#4

on top add
pawn Код:
new SpecX[MAX_PLAYERS],SpecY[MAX_PLAYERS],SpecZ[MAX_PLAYERS],Float:X,Float:Y,Float:Z
on your spectate command add
pawn Код:
GetPlayerPos(playerid,X,Y,Z);
SpecX[playerid] = X;
SpecY[playerid] = Y;
SpecZ[playerid] = Z;
and your specoff code
pawn Код:
SetPlayerPos(playerid,SpecX[playerid],SpecY[playerid],SpecZ[playerid]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)