[BUG] Public
#9

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))
{
DestroyObject(Spray[i]);
TagInfo[i][tgX] = 0;
TagInfo[i][tgY] = 0;
TagInfo[i][tgZ] = 0;
Spray[i] = INVALID_OBJECT_ID;
strmid(TagInfo[i][tgSprayer], " ", 0, 1);
Tag--;
count++;
}
}
}
format(frm, sizeof(frm), "* Vous aver nettoyй Votre Tag Grafitti qui est Sur le mure .", count);
SendClientMessage(playerid, PURPLE, frm);
format(frm, sizeof(frm), " vous avez Supprimer Votre %d tags", count);
SendClientMessage(playerid, GRAY, frm);
ApplyAnimation(playerid,"SPRAYCAN","spraycan_full" ,4.0,0,0,0,0,0,1);
return 1;
}
when i type this commande i cant Destry the Tag object & thanks for your answers
Reply


Messages In This Thread
[BUG] Public - by BigBaws - 16.12.2011, 12:47
Re: [BUG] Public - by MP2 - 16.12.2011, 12:48
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:49
Re: [BUG] Public - by BlackWolf120 - 16.12.2011, 12:52
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:54
Re : [BUG] Public - by BigBaws - 16.12.2011, 12:59
Re : [BUG] Public - by BigBaws - 16.12.2011, 13:04
Re: [BUG] Public - by BlackWolf120 - 16.12.2011, 13:34
Re : [BUG] Public - by BigBaws - 16.12.2011, 13:52
Re : [BUG] Public - by BigBaws - 16.12.2011, 19:38

Forum Jump:


Users browsing this thread: 3 Guest(s)