18.09.2012, 11:46
Your "CreateDynamicPickup" is wrong created ... what is white red is messing ...
Try this:
- 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)
Код:
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 );
Код:
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);
- 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)