3D Text Label
#2

at the top of script
pawn Код:
new Text3D:SpawnPText[MAX_PLAYERS];
onplayerspawn
pawn Код:
SetPlayerHealth(playerid, 10000.0);
SetTimerEx("EndAntiSpawnKill", 5000, false, "i", playerid);
SendClientMessage(playerid, -1,""chat""COL_RED" Spawn Protection {FF0000}(5 Seconds)");
SpawnPText[playerid] = CreateDynamic3DTextLabel( "Spawn Protected", 0xFF000000, 0.0, 0.0, 0.0, 10.0, playerid);//Creating the 3dtext
public EndAntiSpawnKill(playerid)
pawn Код:
DestroyDynamic3DTextLabel(SpawnPText[playerid]);//delete it
SetPlayerHealth(playerid,100.0);
SendClientMessage(playerid,-1,""chat" Spawn Protection Off");
return 1;
Reply


Messages In This Thread
3D Text Label - by Blackazur - 04.03.2014, 21:50
Re: 3D Text Label - by mahardika - 04.03.2014, 23:55
AW: 3D Text Label - by Blackazur - 05.03.2014, 09:10
Re: 3D Text Label - by mahardika - 05.03.2014, 09:13

Forum Jump:


Users browsing this thread: 1 Guest(s)