SA-MP Forums Archive
Object Help! Please REED! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Object Help! Please REED! (/showthread.php?tid=211651)



Object Help! Please REED! - Elmerz_com - 15.01.2011

Hello, Im Going to give you an example of the help I Need!

Lest say im in the game and i want to teleport to airport los santos.
if i go there by vehicle i cannot see any objects or players that have teleported there.
if i teleport to the airport i can see the objects and the players how are teleported there.

How can I make a command like thise?


Re: Object Help! Please REED! - blackwave - 15.01.2011

Quote:
Originally Posted by Elmerz_com
Посмотреть сообщение
Hello, Im Going to give you an example of the help I Need!

Lest say im in the game and i want to teleport to airport los santos.
if i go there by vehicle i cannot see any objects or players that have teleported there.
if i teleport to the airport i can see the objects and the players how are teleported there.

How can I make a command like thise?
do you want to tele there without seeing players?

Simply do:
pawn Код:
if(!strcmp(cmdtext, "/losantos", true))
{
    SetPlayerPos(playerid, X, Y, Z); // Your coordinates
    SetPlayerVirtualWorld(playerid, 1); // Will make you dont see players there
    // For see, just change 1 for 0
    return true;
}



Re: Object Help! Please REED! - Elmerz_com - 17.01.2011

Thanks and how can a make objects visibel in VirtualWorld?


Re: Object Help! Please REED! - blackwave - 22.01.2011

Quote:
Originally Posted by Elmerz_com
Посмотреть сообщение
Thanks and how can a make objects visibel in VirtualWorld?
Sorry lol. Search for incognito streamer. You have other extra options with this streamer.