SA-MP Forums Archive
[FilterScript] MrCallum's Toy Filterscript v0.6 - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] MrCallum's Toy Filterscript v0.6 (/showthread.php?tid=543142)



MrCallum's Toy Filterscript v0.6 - MrCallum - 24.10.2014

Delete please since children are complaining!


Re: MrCallum's Toy Filterscript v0.6 - Pottus - 24.10.2014

This is not your script you little shit.

http://pastebin.com/hpgMq9jT


Re: MrCallum's Toy Filterscript v0.6 - MrCallum - 24.10.2014

It is dude.


Re: MrCallum's Toy Filterscript v0.6 - Pottus - 24.10.2014

No it's not.... caught in 5 minutes eat shit boy.


Re: MrCallum's Toy Filterscript v0.6 - MrCallum - 24.10.2014

Dude, I made it myself.


Re: MrCallum's Toy Filterscript v0.6 - ThePhenix - 24.10.2014

This is obviously not yours, I mean, you didn't even check the code, eh?

You don't even know how to copy... You didn't include the PlayerInfo enum/array.

Stop posting scripts that you did not even coded, and go to learn something useful.


Re: MrCallum's Toy Filterscript v0.6 - MrCallum - 24.10.2014

Its called for future references and I made it myself, Stop picking on me because I chose a simple idea!


Re: MrCallum's Toy Filterscript v0.6 - Pottus - 24.10.2014

Your script

pawn Код:
player_remove_vip_toys(iTargetID) {
    if(PlayerInfo[iTargetID][pDonateRank] >= 3) return 1;
    else for(new iToyIter; iToyIter < MAX_PLAYER_ATTACHED_OBJECTS; ++iToyIter) {
        for(new LoopRapist; LoopRapist < sizeof(HoldingObjectsCop); ++LoopRapist) {
            if(HoldingObjectsCop[LoopRapist][holdingmodelid] == PlayerToyInfo[iTargetID][iToyIter][ptModelID]) {
                PlayerToyInfo[iTargetID][iToyIter][ptModelID] = 0;
                PlayerToyInfo[iTargetID][iToyIter][ptBone] = 0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosX] = 0.0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosY] = 0.0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosZ] = 0.0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosX] = 0.0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosY] = 0.0;
                PlayerToyInfo[iTargetID][iToyIter][ptPosZ] = 0.0;
                if(IsPlayerAttachedObjectSlotUsed(iTargetID, iToyIter)) RemovePlayerAttachedObject(iTargetID, iToyIter);
            }
        }
    }
    SendClientMessageEx(iTargetID, COLOR_WHITE, "All accessories/toys that were property of your former employer have been removed.");
    return 1;
}
From http://pastebin.com/hpgMq9jT posted AUG 22ND, 2011

pawn Код:
player_remove_vip_toys(iTargetID) {
        if(PlayerInfo[iTargetID][pDonateRank] >= 3) return 1;
        else for(new iToyIter; iToyIter < MAX_PLAYER_ATTACHED_OBJECTS; ++iToyIter) {
                for(new LoopRapist; LoopRapist < sizeof(HoldingObjectsCop); ++LoopRapist) {
                        if(HoldingObjectsCop[LoopRapist][holdingmodelid] == PlayerToyInfo[iTargetID][iToyIter][ptModelID]) {
                                PlayerToyInfo[iTargetID][iToyIter][ptModelID] = 0;
                                PlayerToyInfo[iTargetID][iToyIter][ptBone] = 0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosX] = 0.0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosY] = 0.0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosZ] = 0.0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosX] = 0.0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosY] = 0.0;
                                PlayerToyInfo[iTargetID][iToyIter][ptPosZ] = 0.0;
                                if(IsPlayerAttachedObjectSlotUsed(iTargetID, iToyIter)) RemovePlayerAttachedObject(iTargetID, iToyIter);
                        }
                }
        }
        SendClientMessageEx(iTargetID, COLOR_WHITE, "All accessories/toys that were property of your former employer have been removed.");
        return 1;
}
BUSTED
Taking code butchering it and releasing it with no credits does not make it your work.


Re: MrCallum's Toy Filterscript v0.6 - ThePhenix - 24.10.2014

I just looked for SendClientMessageEx and this script does not have that function. You don't even have some functions/variables defined. It clearly states you know nothing about scripting.


Re: MrCallum's Toy Filterscript v0.6 - Pottus - 24.10.2014

Quote:
Originally Posted by ThePhenix
Посмотреть сообщение
I just looked for SendClientMessageEx and this script does not have that function. You don't even have some functions/variables defined. It clearly states you know nothing about scripting.
It's all good he deleted it because it blew up in his face instantly