12.05.2010, 06:46
up of gamemode under #include <a_samp>
under on player disconnect
this add up of a name >>>ADMIN<<<
Code:
new Text3D:label2[MAX_PLAYERS];
Code:
Delete3DTextLabel(label2[playerid]);
Code:
if(strcmp(cmdtext, "/admin_on", true) == 0) { if(IsPlayerAdmin(playerid)) label2[playerid] = Create3DTextLabel(">>>ADMIN<<<",0xEB000FFF,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label2[playerid], playerid, 0.0, 0.0, 0.7); return 1; } if(strcmp(cmdtext, "/admin_off", true) == 0) { if(IsPlayerAdmin(playerid)) Delete3DTextLabel(label2[playerid]); return 1; }