SA-MP Forums Archive
Adding map objects which affect per virtual world.REWARD[+REP] - 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)
+--- Thread: Adding map objects which affect per virtual world.REWARD[+REP] (/showthread.php?tid=537553)



Adding map objects which affect per virtual world.REWARD[+REP] - SWGamer - 16.09.2014

I am quite new to pawn.I just wanna ask how to add map objects which would only affect a player if he is in a Virtual World(552). So I can run a free roam and a zombie script together.I am quite new to pawn so explain thoroughly and if you can post a example script.

REWARD:Who answers this question correctly will get a +REP



Re: Adding map objects which affect per virtual world.REWARD[+REP] - Goldac - 16.09.2014

Код:
#include streamer

CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = 552, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);



Re: Adding map objects which affect per virtual world.REWARD[+REP] - Lordzy - 16.09.2014

You can either use Streamer or CreatePlayerObject function.
Quote:
Originally Posted by SWGamer
Посмотреть сообщение
REWARD:Who answers this question correctly will get a +REP
Just letting you know that your reputation won't be counted as you don't have the minimum posts required.

EDIT : Late


Re: Adding map objects which affect per virtual world.REWARD[+REP] - SWGamer - 16.09.2014

Thanks
Any easy converter for this as I am using MTA.
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = 552, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
PS:Using Ingotico Streamer


Re: Adding map objects which affect per virtual world.REWARD[+REP] - SilentSoul - 16.09.2014

Quote:
Originally Posted by SWGamer
Посмотреть сообщение
Thanks
Any easy converter for this as I am using MTA.
CreateDynamicObject(modelid, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = 552, interiorid = -1, playerid = -1, Floattreamdistance = 200.0, Float:drawdistance = 0.0);
http://convertffs.com/ - Check out the options down below ( There's a button "Change" ) and set the formats to Mta object - Incognito's Streamer plugin


Re: Adding map objects which affect per virtual world.REWARD[+REP] - SWGamer - 16.09.2014

Is doesnot change the world ID?


Re: Adding map objects which affect per virtual world.REWARD[+REP] - SilentSoul - 16.09.2014

No, but streamer default function for creating objects are visible to all the virtual worlds.


Re: Adding map objects which affect per virtual world.REWARD[+REP] - SWGamer - 16.09.2014

I need it visible per one Virtual World.
World ID is 552