I'm about to *** kill pawn
#1

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(411, 2077.6763, -1765.8000, 13.2826, 271.0231,6,125); // speedcam2
AddStaticVehicle(411, 2077.6763, -1780.8000, 13.2826, 271.0231,6,125); // speedcam2
CreateObject(18880, 1834.3489, -1745.7751, 12.2740, 0, 0, 0);
CreateObject(18880, 2077.6763, -1759.6351, 12.2826, 0, 0, 0);
Create3DTextLabel("FUCKYOU", -1, 2082.8665,-1761.2871,13.5625, 10, -1);
print("aADDDF>EF>SE");
return 1;
}

Why the ***************************************** does this txtlabel not get ADDED?
Reply
#2

Are you in vw 10?

Create3DTextLabel("FUCKYOU", -1, 2082.8665,-1761.2871,13.5625, 50.000, 0, 0);
Reply
#3

thats the drawdistance.
Reply
#4

-1 doesn't mean all virtual worlds, only virtual world -1. Using 0 in most cases will help, otherwise use some streamer

@e: Nope, looks like it does mean all virtual worlds. Welp, no idea what's wrong
Reply
#5

pawn Код:
public OnGameModeInit()
{
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddStaticVehicle(411, 2077.6763, -1765.8000, 13.2826, 271.0231,6,125); // speedcam2
AddStaticVehicle(411, 2077.6763, -1780.8000, 13.2826, 271.0231,6,125); // speedcam2
CreateObject(18880, 1834.3489, -1745.7751, 12.2740, 0, 0, 0);
CreateObject(18880, 2077.6763, -1759.6351, 12.2826, 0, 0, 0);
Create3DTextLabel("FUCKYOU", 0x008080FF, 2082.8665,-1761.2871,13.5625, 40.0, 0, 1);
print("aADDDF>EF>SE");
return 1;
}
Reply
#6

You're missing one parameter.

This should work.
pawn Код:
Create3DTextLabel("FUCKYOU", -1, 2082.8665,-1761.2871,13.5625, 10, 0, 0);
Reply
#7

You're missing multiple parameters.
This one should work.
(VW: 0)
pawn Код:
Create3DTextLabel("FUCKYOU", 0x008080FF, 2082.8665,-1761.2871,13.5625, 40.0, 0, 1);
Reply
#8

Straight from a_samp.inc

pawn Код:
native Text3D:Create3DTextLabel(text[], color, Float:X, Float:Y, Float:Z, Float:DrawDistance, virtualworld, testLOS=0);
LOS can be left not provided, as it is 0 by default (and there would be error about unmatching number of arguments)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)