06.01.2011, 11:54
Quote:
I tried to add the phonenumber that I'm using as a prison number but I ended up with this warning;
C:\Users\mma\Desktop\Los Santos Prison Roleplay\gamemodes\lspr.pwn(9709) : warning 213: tag mismatch This is the function; Код:
new Text3D:PrisonNum[MAX_PLAYERS]; PrisonNum[playerid] = Create3DTextLabel("Prison Number %d",Player[playerid][PhoneN],0xFFFFFFAA, 30.0, 40.0, 50.0, 40.0, 0); Attach3DTextLabelToPlayer(PrisonNum[playerid],playerid,0.0, 0.0, 0.7); |
pawn Код:
new
Text3D:PrisonNum[MAX_PLAYERS];
string[32];
format(string, sizoef(string), "Prison number: %d", Player[playerid][PhoneN]);
PrisonNum[playerid] = Create3DTextLabel(string, 0xFFFFFFAA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(PrisonNum[playerid], playerid, 0.0, 0.0, 0.7);