Pickup_ID = CreateDynamicPickup(1239, 1, 708.8225, -775.7249, POINT_Z+2.0, WORLDID, INTERIOR);
Label_ID = CreateDynamic3DTextLabel("text", GOLD, 708.8225, -775.7249, POINT_Z+2.0, LABEL_DISTANCE+10.0, WORLDID, INTERIOR);
708.8225, -775.7249, POINT_Z+2.0
CreateDynamic3DTextLabel("text", GOLD, 708.8225, -775.7249, POINT_Z+2.0, LABEL_DISTANCE+10.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, WORLDID, INTERIOR);
Label_ID = CreateDynamic3DTextLabel("text", GOLD, 708.8225, -775.7249, POINT_Z+2.0, LABEL_DISTANCE+10.0, .worldid=WORLDID, .interiorid=INTERIOR);
Is there any warnings / errors from streamer plugin in your server log?
Also for your CreateDynamic3DTextLabel, 7th and 8th parameters are for attachedplayer and attachedvehicle. Here's the fixed version of your CreateDynamic3DTextLabel code: Код:
Label_ID = CreateDynamic3DTextLabel("text", GOLD, 708.8225, -775.7249, POINT_Z+2.0, LABEL_DISTANCE+10.0, .worldid=WORLDID, .interiorid=INTERIOR); |
Pickup_ID = CreateDynamicPickup(1239, 1, 708.8225, -775.7249, POINT_Z+2.0, WORLDID, INTERIOR);
// CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_PICKUP_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
Alright, my bad. Thanks. What mean ".parameter=..." like you did?
Also, this one should work no? PHP код:
|
I had no idea you could do ".parameter=..." to assign it? That's way more convenient if that works?
|
[17:10:52] Server Plugins [17:10:52] -------------- [17:10:52] Loading plugin: crashdetect.dll [17:10:52] CrashDetect v4.15.1 is OK. [17:10:52] Loaded. [17:10:52] Loading plugin: mysql.dll [17:10:52] >> plugin.mysql: R41 successfully loaded. [17:10:52] Loaded. [17:10:52] Loading plugin: streamer.dll [17:10:52] *** Streamer Plugin v2.8.2 by Incognito loaded *** [17:10:52] Loaded. [17:10:52] Loading plugin: sscanf.dll [17:10:52] [17:10:52] =============================== [17:10:52] sscanf plugin loaded. [17:10:52] Version: 2.8.1 [17:10:52] © 2012 Alex "******" Cole [17:10:52] =============================== [17:10:52] Loaded. [17:10:52] Loading plugin: FCNPC.dll [17:10:52] [17:10:52] ------------------------------------------------- [17:10:52] FCNPC - Fully Controllable NPC v1.6.1 [17:10:52] Windows SA-MP 0.3.7 R2-1 [17:10:52] Dec 25 2016 at 14:07:43 [17:10:52] [17:10:52] Author: OrMisicL (2013 - 2015) [17:10:52] Continued by: ziggi (2016 - present) [17:10:52] Contributors: kurta999, Neutralneu [17:10:52] -------------------------------------------------
CreateDynamicPickup(1239, 1, 708.8225, -775.7249, 4253.3760+1.0);
Pickup_ID = CreatePickup(1239, 1, 708.3482,-775.0904,4255.3760, WORLDID); // doesn't work
Pickup_ID = CreatePickup(1239, 1, -1391.6177,-66.3652,14.1484, WORLDID); // work fine