Adding map objects which affect per virtual world.REWARD[+REP]
#1

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
Reply
#2

Код:
#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);
Reply
#3

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
Reply
#4

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
Reply
#5

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
Reply
#6

Is doesnot change the world ID?
Reply
#7

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)