3DLabel Text error
#1

ERROR:
Код:
D:\Users\Tanush\Desktop\SA-MP SERVERS\SA-MP Server Stunt\gamemodes\server.pwn(5281) : error 035: argument type mismatch (argument 1)
D:\Users\Tanush\Desktop\SA-MP SERVERS\SA-MP Server Stunt\gamemodes\server.pwn(5281) : warning 213: tag mismatch
Code:
pawn Код:
bartext = CreateDynamic3DTextLabel(barid,Niceyellow,X,Y,Z,50,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0,-1,-1,-1,50);
Reply
#2

Make sure that barid is a string, not a numerical value / a float.
Reply
#3

Check this out:
pawn Код:
new tmp_str[8];
format(tmp_str,sizeof(tmp_str),"%d",barid);
bartext = CreateDynamic3DTextLabel(tmp_str,Niceyellow,X,Y,Z,50,INVALID_PLAYER_ID,INVALID_VEHICLE_ID,0,-1,-1,-1,50);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)