Is it possible removing enter/exit pickups
#6

Quote:
Originally Posted by Escobabe
Посмотреть сообщение
I'm using it like this now
PHP код:
new Float:x,Float:y,Float:z;
    if(
newinteriorid == 3)
    {
        
GetPlayerPos(playerid,x,y,z);
    }
    if(
newinteriorid == 0)
    {
        
SetPlayerPos(playerid,x,y,z);
    } 
But, everytime i spawn, i spawn at the 0.0 0.0 0.0 co-ordinates near that farm?
Because x, y, z are being created again when interior changes. Make global player variable for it.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)