interior problems
#1

i have a problem , when i set someone in an interior , example ID13 wich is city hall , i dont see him in the right place i dont see the objects that i placed in that interior or more i cant use /exit
thank you.
Reply
#2

Probably you are in a different virtual world?
Reply
#3

Maybe You Placed It In Other Virtual World, A Snippet Of Your Code Might Help.
Reply
#4

If you want to place someone in your for example the City Hall,
You neeed to set the following things for that player:

His Position. (SetPlayerPos(playerid, Float:x, Float:y, Float:z);
His interior id. (SetPlayerInterior(playerid, interior);
His Virtual World. (Default 0) SetPlayerVirtualWorld(playerid, world);

If you set these 3 things correctly it should work.
Reply
#5

Quote:
Originally Posted by judothijs
Посмотреть сообщение
If you want to place someone in your for example the City Hall,
You neeed to set the following things for that player:

His Position. (SetPlayerPos(playerid, Float, Float:y, Float:z);
His interior id. (SetPlayerInterior(playerid, interior);
His Virtual World. (Default 0) SetPlayerVirtualWorld(playerid, world);

If you set these 3 things correctly it should work.
oh thanks , but i dont have any idea about virtual world , ?! whats the number , and in wich one my interior are ? (my quastion is in the right form ?)
Reply
#6

BUMP
Reply
#7

Use

PHP код:
SetPlayerVirtualWorld(playerid0); 
Reply
#8

A virtual world wouldn't cause this problem. Virtual worlds are for mainly having the interior twice in a gamemode but for different usuage, sounds like an interior problem. Use:

pawn Код:
SetPlayerInterior(playerid, InteriorID);
Get an InteriorID from:
Also, if you still have problems, POST THE CODE.
Reply
#9

RESOLVED thanks all
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)