[HELP] death match label's - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] death match label's (
/showthread.php?tid=468595)
[HELP] death match label's -
Luca12 - 09.10.2013
Hello I have a problem when I leave death match zone (/dmexit) then it should be destroyed dynamic3dtextlabel but it's stay if you know what I mean.
Re: [HELP] death match label's -
iFiras - 09.10.2013
Just do this
pawn Код:
Delete3DTextLabel(||Here your 3D text label ID||);
Re: [HELP] death match label's -
Luca12 - 09.10.2013
do you read what I say I don't use 3dtextlabel I use dynamic3dtextlabel....
Re: [HELP] death match label's -
xVIP3Rx - 09.10.2013
Show us the codes please ?
Re: [HELP] death match label's -
Luca12 - 10.10.2013
pawn Код:
CMD:dmexit(playerid, params[])
{
printf("dmexit called, pDM is: %d",PlayerInfo[playerid][pDM]);
switch(PlayerInfo[playerid][pDM])
{
case 1:
{
SetPlayerSkin(playerid, StariSkin[playerid]);
PlayerInfo[playerid][pDM] = 0;
IgracUZoni[playerid] = 0;
SendClientMessage(playerid,SVETLOPLAVA,"[OOC DM Zona] {FFFFFF}Napustili ste OOC DM Zonu.");
SetPlayerPos_H(playerid,57.5926,2299.3740,21.7211);
ResetPlayerWeapons(playerid);
DestroyDynamic3DTextLabel(timp[playerid]);
timpl[playerid] = 0;
KillTimer(dmztajmer[playerid]);
KillTimer(dmztimer[playerid]);
}
case 2:
{
SetPlayerSkin(playerid, StariSkin[playerid]);
PlayerInfo[playerid][pDM] = 0;
IgracUZoni[playerid] = 0;
SendClientMessage(playerid,SVETLOPLAVA,"[OOC DM Zona] {FFFFFF}Napustili ste OOC DM Zonu.");
SetPlayerPos_H(playerid,57.5926,2299.3740,21.7211);
ResetPlayerWeapons(playerid);
DestroyDynamic3DTextLabel(timc[playerid]);
timcr[playerid] = 0;
KillTimer(dmztajmer[playerid]);
KillTimer(dmztimer[playerid]);
}
default: SCM(playerid, GRAD2,"{F81414}[Greska!] {C3C3C3}Ne mozete koristiti ovu komandu jel ne igrate u dm zoni!");
}
return 1;
}
Re: [HELP] death match label's -
xVIP3Rx - 10.10.2013
Are you sure "timp[playerid]"/"timc[playerid]" is the right 3Dtext's id ?
Make sure of that.
Re: [HELP] death match label's -
Luca12 - 10.10.2013
yes I'm sure when I enter in the zone label it's create normal but the problem is in exit
Re: [HELP] death match label's -
Luca12 - 12.10.2013
Anyone? Thanks
Re: [HELP] death match label's -
EiresJason - 12.10.2013
Show the code where you create the Dynamic3DTextLabels.
Re: [HELP] death match label's -
Luca12 - 12.10.2013
this is for blue tim
pawn Код:
timp[playerid] = CreateDynamic3DTextLabel("(( PLAVI ))",SVETLOPLAVA,0.0,0.0,0.6,15.0,playerid,INVALID_VEHICLE_ID,0,-1,-1,-1,100.0);