'CreateDynamicPickup' Not creating pickup
#1

Hey ahh,
My Dynamic pickups and my Dynamic 3D Texts are not displaying or creating one of them.

Code
pawn Код:
//
                    format(string1,sizeof(string1),"Text is inside here");
                    CreateDynamic3DTextLabel(string1,COLOR_WHITE,House[playerid][hIntPosX],House[playerid][hIntPosY],House[playerid][hIntPosZ],10.0,House[playerid][hWorld],1);
                    CreateDynamicPickup(1273, 23, House[playerid][hExtPosX], House[playerid][hExtPosY], House[playerid][hExtPosZ], -1, -1, -1, 10);
Reply
#2

Your "CreateDynamicPickup" is wrong created ... what is white red is messing ...
Код:
CreateDynamic3DTextLabel(const text[], color      , Float:x                  , Float:y                  , Float:z                  , Float:drawdistance, attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0, worldid = -1           , interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
CreateDynamic3DTextLabel(string1     , COLOR_WHITE, House[playerid][hIntPosX], House[playerid][hIntPosY], House[playerid][hIntPosZ], 10.0              ,                                                                                        House[playerid][hWorld], 1              );
Try this:
Код:
CreateDynamic3DTextLabel(string1, COLOR_WHITE, House[playerid][hIntPosX], House[playerid][hIntPosY], House[playerid][hIntPosZ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, House[playerid][hWorld], 0, -1, 100.0);
CreateDynamicPickup(1273, 1, House[playerid][hExtPosX], House[playerid][hExtPosY], House[playerid][hExtPosZ], -1, 0, -1, 100.0);
- Fixed: CreateDynamic3DTextLabel
- Changed: drawdistance [10.0 to 20.0], interiorid [-1 to 0] for CreateDynamic3DTextLabel
- Changed: pickup types [23 to 1]*, streamdistance [10.0 to 100.0] for CreateDynamicPickup

* 1 - Not pickupable, exists all the time. (Suitable for completely scripted pickups using OnPlayerPickUpPickup)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)