Really Weird.
#1

Somehow this is not creating pickup or 3d text label inside the driving school. I think I have done a silly mistake but my mind is not working correctly at the moment(52 hours without sleep).

pawn Код:
#define CarLicPosX                                  (-2033.4344)
#define CarLicPosY                                  (-117.6410)
#define CarLicPosZ                                  (1035.1719)

CreateDynamicPickup(1318, 1, CarLicPosX, CarLicPosY, CarLicPosZ, -1, 3);
CreateDynamic3DTextLabel("Driving License \n Cost: $500", COLOR_BLUE, CarLicPosX, CarLicPosY, CarLicPosZ+2, 40.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, 3);
Reply
#2

Try wrapping the defined floats with brackets instead of parenthesis.
Reply
#3

Quote:
Originally Posted by Walsh
Посмотреть сообщение
Try wrapping the defined floats with brackets instead of parenthesis.
No that's not the problem. Thanks for trying to help me though
Reply
#4

Not actualy sure of "Dynamic" values but ur sure u have "int, vw, distance set?

Shouldnt it looks like :
pawn Код:
CreateDynamicPickup(modelid, 23, Float:x, Float:y, Float:z, -1, -1, -1, 100.0)
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:distance = 100.0);
Reply
#5

Quote:
Originally Posted by ArmyOps
Посмотреть сообщение
Not actualy sure of "Dynamic" values but ur sure u have "int, vw, distance set?

Shouldnt it looks like :
pawn Код:
CreateDynamicPickup(modelid, 23, Float:x, Float:y, Float:z, -1, -1, -1, 100.0)
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:distance = 100.0);
The parameters are just fine.
Reply
#6

It's still not working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)