how to convert this code non-streamer
#1

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

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.
Reply
#3

Use these functions:

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

EDIT ;

Mencent was faster.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)