Really Weird. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Really Weird. (
/showthread.php?tid=322793)
Really Weird. - T0pAz - 03.03.2012
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);
Re: Really Weird. -
Walsh - 03.03.2012
Try wrapping the defined floats with brackets instead of parenthesis.
Re: Really Weird. - T0pAz - 03.03.2012
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
Re: Really Weird. -
ArmyOps - 03.03.2012
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);
Re: Really Weird. - T0pAz - 03.03.2012
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.
Re: Really Weird. - T0pAz - 05.03.2012
It's still not working.