Making admin 3d label and saving stats
#2

up of gamemode under #include <a_samp>
Code:
new Text3D:label2[MAX_PLAYERS];
under on player disconnect
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;
 	}
this add up of a name >>>ADMIN<<<
Reply


Messages In This Thread
Making admin 3d label and saving stats - by rellyboy105 - 12.05.2010, 05:22
Re: Making admin 3d label and saving stats - by iJumbo - 12.05.2010, 06:46
Re: Making admin 3d label and saving stats - by CodeExtreme - 03.06.2011, 21:16

Forum Jump:


Users browsing this thread: 1 Guest(s)