Help needed with Create3DTextLabel
#1

Code:
Код:
Create3DTextLabel(/adminroof to go up,-8388353,1847.587036,-1761.849609,13.546875,40,0,0); **LINE 60**
Create3DTextLabel(/admindown to go down,-10485505,1889.017333,-1782.904785,25.791057,40,0,0); **LINE 61**
Errors:

Код:
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : error 029: invalid expression, assumed zero
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : error 017: undefined symbol "adminroof"
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : error 017: undefined symbol "to"
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : fatal error 107: too many error messages on one line
Reply
#2

The weird thing is is that an generator made these lines so they should be good - right?
Reply
#3

Try this:

pawn Код:
Create3DTextLabel("/adminroof to go up",COLOR_HERE,1847.587036,-1761.849609,13.546875,40,0,0);
Create3DTextLabel("/admindown to go down",COLOR_HERE,1889.017333,-1782.904785,25.791057,40,0,0);
Reply
#4

Quote:
Originally Posted by JJB562
Посмотреть сообщение
Try this:

pawn Код:
Create3DTextLabel("/adminroof to go up",COLOR_HERE,1847.587036,-1761.849609,13.546875,40,0,0);
Create3DTextLabel("/admindown to go down",COLOR_HERE,1889.017333,-1782.904785,25.791057,40,0,0);
Gives me:
Код:
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : warning 202: number of arguments does not match definition
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(61) : warning 202: number of arguments does not match definition
Reply
#5

Are you sure?
pawn Код:
Create3DTextLabel("/adminroof to go up", 0x008080FF, 1847.587036, -1761.849609, 13.546875, 40.0, 0, 0);
Create3DTextLabel("/admindown to go down", 0x008080FF, 1889.017333, -1782.904785, 25.791057, 40.0, 0, 0);
Reply
#6

Quote:
Originally Posted by Songason
Посмотреть сообщение
Gives me:
Код:
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(60) : warning 202: number of arguments does not match definition
C:\Users\Sonny\Desktop\SAMP server\pawno\NewBorn RP.pwn(61) : warning 202: number of arguments does not match definition
Did you change the COLOR_HERE?
Reply
#7

Quote:
Originally Posted by Realds
Посмотреть сообщение
Did you change the COLOR_HERE?
Ofcourse.
Reply
#8

pawn Код:
Create3DTextLabel("/adminroof to go up",0x008080FF,1847.587036,-1761.849609, 13.546875,40.0,0, 0);
    Create3DTextLabel("/admindown to go down",0x008080FF,1889.017333, -1782.904785, 25.791057,40.0,0, 0);
That compiles fine.
Reply
#9

Quote:
Originally Posted by DobbysGamertag
Посмотреть сообщение
pawn Код:
Create3DTextLabel("/adminroof to go up",0x008080FF,1847.587036,-1761.849609, 13.546875,40.0,0, 0);
    Create3DTextLabel("/admindown to go down",0x008080FF,1889.017333, -1782.904785, 25.791057,40.0,0, 0);
That compiles fine.
Thanks - works.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)