25.02.2013, 18:10
Hello,
I'm in need of a mask system, it will change the name to Mask 12345 [5 random numbers].
This is my hided hudbars replaced with the a textdraw.
I want if someone bought the mask, it will change the 3Dtextlabel to the mask code.
I'm in need of a mask system, it will change the name to Mask 12345 [5 random numbers].
This is my hided hudbars replaced with the a textdraw.
Код:
ShowNameTags(false); new name[MAX_PLAYER_NAME + 1]; GetPlayerName(playerid, name, sizeof(name)); for(new c = 0, l = strlen(name); c < l; ++c) { if('_' == name[c]) { name[c] = ' '; break; } } new Text3D:attachplayername = Create3DTextLabel(name, COLOR_WHITE, 30.0, 40.0, 50.0, 8.0, 0); Attach3DTextLabelToPlayer(attachplayername, playerid, 0.0,0.0,0.2);