SA-MP Forums Archive
how to convert this code non-streamer - 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: how to convert this code non-streamer (/showthread.php?tid=631168)



how to convert this code non-streamer - Jihanz - 24.03.2017

Can you help me ? How to convert this script into a non-streamer? Because I'm using non streamer script.
Thanks in advance!~

PHP код:
    House[id][PickupU] = CreateDynamicPickup(127323,  PosX,PosY,PosZ,-1,-1,-1,100.0);
        
format(string,sizeof(string),"{29CC3F}Owner: "COL_WHITE"Apartment\n{29CC3F}House name: "COL_WHITE"%s\n{29CC3F}Price: "COL_WHITE"%d\n{29CC3F}Level: "COL_WHITE"%d\n{29CC3F}Address: "COL_WHITE"%s %d\n (/buyhouse)",name,price,level,zone,id);
        
House[id][DLabel] = CreateDynamic3DTextLabel(string0xFFFFFF,  PosX,PosY,PosZ100INVALID_PLAYER_IDINVALID_VEHICLE_ID0, -1, -1, -1100);
        
House[id][Icon] = CreateDynamicMapIcon(PosX,PosY,PosZ310, -1, -1, -1100.0); 



Re: how to convert this code non-streamer - Mencent - 24.03.2017

Hello!

Try it yourself with this links:
CreateDynamicPickup => CreatePickup: https://sampwiki.blast.hk/wiki/CreatePickup
CreateDynamic3DTextLabel => Create3DTextLabel: https://sampwiki.blast.hk/wiki/Create3DTextLabel
CreateDynamicMapIcon => SetPlayerMapIcon: https://sampwiki.blast.hk/wiki/SetPlayerMapIcon

When you don't know how to realize that then feel free to ask.


Re: how to convert this code non-streamer - AjaxM - 24.03.2017

Use these functions:

CreateDynamicObject -> CreateObject
CreateDynamicPickup -> CreatePickup
CreateDynamicMapicon -> SetPlayerMapIcon

EDIT ;

Mencent was faster.