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(1273, 23,  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(string, 0xFFFFFF,  PosX,PosY,PosZ, 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100);
        
House[id][Icon] = CreateDynamicMapIcon(PosX,PosY,PosZ, 31, 0, -1, -1, -1, 100.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)