SA-MP Forums Archive
[HELP] death match zone dynamic label - 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 zone dynamic label (/showthread.php?tid=467148)



[HELP] death match zone dynamic label - Luca12 - 01.10.2013

Hello like title say I have problem when I leave death match zone dynamic label stay on player it was not destroy I exit from death match zone with command:

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(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(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 zone dynamic label - Luca12 - 02.10.2013

anyone


Re: [HELP] death match zone dynamic label - Luca12 - 03.10.2013

Please anyone? Thanks


Re: [HELP] death match zone dynamic label - Luca12 - 06.10.2013

anyone