Black Screen
#1

I've used a GetPlayerPos and SetPlayerPos and for some reason it gets me black screen...

anyone knows what make it happen??

I've used it this way:

pawn Код:
new Float:px,Float:py,Float:pz;

GetPlayerPos(playerid, px, py, pz);

SetPlayerPos(playerid, px, py, pz);
btw.. its a buy clothed command.. when the player enter the cloth shop it save his last pos and when he's done it set his pos to the last pos he was
Reply
#2

Maybe the interior is wrong ...
Reply
#3

Use:

new Float:px,Float:py,Float:pz,pint;

GetPlayerPos(playerid, px, py, pz);
pint = GetPlayerInterior(playerid);

SetPlayerPos(playerid, px, py, pz);
SetPlayerInterior(playerid,pint);
Reply
#4

its not interior problem.. i already tested it..
Reply
#5

Textdraws?
Reply
#6

Have you used SendClientMessage to display exactly what the variables are after using GetPlayerPos and again before using SetPlayerPos? I'd do that to confirm the coordinates are correct.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)