Create3DTextLabel
#1

pawn Код:
Create3DTextLabel("Type here /takemjob to take the mechanic job:\n358.2369,159.8560,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /taketjob to take the Taxi job:\n358.2362,162.5345,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /takenjob to take the News job:\n358.2361,166.3266,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /civlianjob to take the Civilian job:\n358.2374,169.4623,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaLV to take the Visa of LV:\n358.2370,178.9161,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaLS to take the Visa of LS:\n358.2393,182.1947,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaSF to take the Visa of SF:\n358.2414,185.7646,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
These Create3DTextLabels i putted under the OnFilterScriptInIt, but it doesn't works
Reply
#2

you have return 1; under create3dtextlabel?
pawn Код:
public OnFilterScriptInit()
{
Create3DTextLabel("Type here /takemjob to take the mechanic job:\n358.2369,159.8560,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /taketjob to take the Taxi job:\n358.2362,162.5345,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /takenjob to take the News job:\n358.2361,166.3266,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /civlianjob to take the Civilian job:\n358.2374,169.4623,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaLV to take the Visa of LV:\n358.2370,178.9161,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaLS to take the Visa of LS:\n358.2393,182.1947,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
    Create3DTextLabel("Type here /VisaSF to take the Visa of SF:\n358.2414,185.7646,1008.3828", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0, 0);
//and more
return 1;
}
Reply
#3

Yeah, I have.
Reply
#4

try to public OnGameModeInit()
Reply
#5

I did it
Reply
#6

Reply
Reply
#7

It should be
pawn Код:
Create3DTextLabel("Type here /takemjob to take the mechanic job", 0x008080FF, 358.2369,159.8560,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /taketjob to take the Taxi job", 0x008080FF, 358.2362,162.5345,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /takenjob to take the News job", 0x008080FF, 358.2361,166.3266,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /civlianjob to take the Civilian job", 0x008080FF, 358.2374,169.4623,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaLV to take the Visa of LV", 0x008080FF, 358.2370,178.9161,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaLS to take the Visa of LS", 0x008080FF, 358.2393,182.1947,1008.3828, 30.0, 40.0, 50.0, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaSF to take the Visa of SF", 0x008080FF, 358.2414,185.7646,1008.3828 30.0, 40.0, 50.0, 40.0, 0, 0);
Learn the parameters.

https://sampwiki.blast.hk/wiki/Create3DTextLabel
Reply
#8

C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : error 001: expected token: ",", but found "-rational value-"
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : warning 215: expression has no effect
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : error 029: invalid expression, assumed zero
C:\DOCUME~1\MOSTWA~1\MYDOCU~1\DOWNLO~1\SAMP03~1\FI LTER~1\NoZer0.pwn(129) : fatal error 107: too many error messages on one line

4 Errors Vince
Reply
#9

pawn Код:
Create3DTextLabel("Type here /takemjob to take the mechanic job", 0x008080FF, 358.2369,159.8560,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /taketjob to take the Taxi job", 0x008080FF, 358.2362,162.5345,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /takenjob to take the News job", 0x008080FF, 358.2361,166.3266,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /civlianjob to take the Civilian job", 0x008080FF, 358.2374,169.4623,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaLV to take the Visa of LV", 0x008080FF, 358.2370,178.9161,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaLS to take the Visa of LS", 0x008080FF, 358.2393,182.1947,1008.3828, 40.0, 0, 0);
Create3DTextLabel("Type here /VisaSF to take the Visa of SF", 0x008080FF, 358.2414,185.7646,1008.3828,40.0, 0, 0);
My bad.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)