20.01.2013, 21:23
Hi, I need help with this 'DeletePlayer3DTextLabel"
Heres my code:
How do i delete the 3D Text Label in another Command Please Help I need this done for my gang war server.
Heres my code:
pawn Код:
dcmd_onduty(playerid,params[])
{
#pragma unused params
if(PlayerInfo[playerid][Level] > 1)
{
new Text3D:label = Create3DTextLabel("-Admin ON Duty- Dont Kill!",0xEE11D8C8 , 30.0, 40.0, 50.0, 40.0, 0);
SendClientMessage(playerid,0x1DFB04C8,"You are Now On Admin Duty Duty.");
SendClientMessage(playerid,red,"DO NOT KILL PEOPLE WHILE ON DUTY");
SendClientMessage(playerid,PINK,"You Have Been Equipped with a Camera, To get Photos Of Cheaters.");
SendClientMessage(playerid,PINK,"You Have Been Equipped with a Minigun To Kill Cheaters.");
SetPlayerColor(playerid,0xF709DFC8);
SetPlayerSkin(playerid,189);
GivePlayerWeapon(playerid,38,1800);
GivePlayerWeapon(playerid,43,1800);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
}
return 1;
}
How do i delete the 3D Text Label in another Command Please Help I need this done for my gang war server.