06.01.2011, 12:00
Got this code now;
And it's giving this error,
C:\Users\mma\Desktop\Los Santos Prison Roleplay\gamemodes\lspr.pwn(9710) : error 017: undefined symbol "sizoef"
C:\Users\mma\Desktop\Los Santos Prison Roleplay\gamemodes\lspr.pwn(9779) : warning 219: local variable "string" shadows a variable at a preceding level
Код:
new Text3D:PrisonNum[MAX_PLAYERS]; new 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);
C:\Users\mma\Desktop\Los Santos Prison Roleplay\gamemodes\lspr.pwn(9710) : error 017: undefined symbol "sizoef"
C:\Users\mma\Desktop\Los Santos Prison Roleplay\gamemodes\lspr.pwn(9779) : warning 219: local variable "string" shadows a variable at a preceding level