SA-MP Forums Archive
[BUG] TagSpray - 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: [BUG] TagSpray (/showthread.php?tid=304391)



[BUG] TagSpray - BigBaws - 18.12.2011

Hello Folks i have something Wrong in my Systeme Tag , i dont know why i cant Destroy the object of tag IG : For exemple i spray a tag in the well And after i do /deltag then it will not delete it i have no idea about that check my commande

Код:
if(strcmp(cmdtext, "/suptag", true)==0)
    {
        new count;
        new frm[128];
        for(new i = 0; i < MAX_TAGS; i++)
	    {
	        if(PlayerToPoint(playerid,2,TagInfo[i][tgX],TagInfo[i][tgY],TagInfo[i][tgZ]))
	        {
	            GetPlayerName(playerid, frm, MAX_PLAYER_NAME);
    			if (!strcmp(TagInfo[i][tgSprayer],frm))
		    	for(new stags = 1; stags <= 200; stags++)
    			{
					DestroyObject(Spray[i]);
					TagInfo[i][tgX] = 0;
			        TagInfo[i][tgY] = 0;
			        TagInfo[i][tgZ] = 0;
			        DestroyObject(Spray[stags]);
    	            Tag = 0;
			        Spray[i] = INVALID_OBJECT_ID;
			        strmid(TagInfo[i][tgSprayer], " ", 0, 1);
			        Tag--;
			        count++;
				}
			}
		}
        format(frm, sizeof(frm), "* You have Been Removed your Tag from the wall .", count);
        SendClientMessage(playerid, PURPLE, frm);
		format(frm, sizeof(frm), " You have deleted %d tags", count);
		SendClientMessage(playerid, GRAY, frm);
		ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.0,0,0,0,0,0,1);
    	return 1;
    }



Re : [BUG] TagSpray - BigBaws - 18.12.2011

Any help !!


Re : [BUG] TagSpray - BigBaws - 18.12.2011

Please i need a help ... No answer ?


Re : [BUG] TagSpray - BigBaws - 18.12.2011

why ther are no answer ? oO