[FilterScript] Simple VIP System
#9

0 Bugs?

First bug: you are using an full outdated saving system (DOF2)

Second bug: you are using "str" a global variable while you are using it locally so this will create so many wrrong formating for strings and so many mistakes/bugs. also with "500 cells"? that wast of shit.

Third bug: you are using "stock" in a local script, that's not an include nor module system (even modules doesn't use "stock")

Bug #4: Last function in script not needed, this can be done simpley by using #define

Bug #5: in all administrative commands you are using "SVIP(playerid)" so you are checking if player is vip, then the player will be able to use the /setvip.... to set another player vip which is terrible...

Bug #6: in /viplist you are formatting lines to be used on a dialog, note that won't return more than 1 long line because you didn't use "\n" to return to the line

Bug #7: in another command you are using " if(sscanf(params,"u",params[0])) " we'all know this won't work correctly, you are using cells to store an integer, note that params[0] is already this integer, so you should declare a new variable instand of using the native string.

Bug #8 (7.2): in /vsay you are using the samething, but you are returning only the first char of the whole text, because of using params[0] (i bet that you don't know how cells works)

Fatal Bug #9:

PHP код:
public OnFilterScriptInit()
{
    
DOF2_Exit();
    return 
1;

this won't let the DOF2 functions to work, because you already shutted it down

Conclusion: nothing will work in this script.

Now you have bugs to start fixing it ^^



Edit: @Meller https://sampforum.blast.hk/showthread.php?tid=570635 ( ͡° ͜ʖ ͡°)
Reply


Messages In This Thread
Simple VIP System - by OfekEfron - 29.08.2017, 16:32
Re: Simple VIP System - by Eoussama - 29.08.2017, 17:30
Re: Simple VIP System - by SonnyGamer - 30.08.2017, 08:53
Re: Simple VIP System - by Ultraz - 30.08.2017, 08:56
Re: Simple VIP System - by OfekEfron - 30.08.2017, 09:22
Re: Simple VIP System - by HoNEYKISS - 09.09.2017, 12:40
Re: Simple VIP System - by BiosMarcel - 09.09.2017, 14:34
Re: Simple VIP System - by Meller - 09.09.2017, 14:48
Re: Simple VIP System - by Xeon™ - 09.09.2017, 14:57
Re: Simple VIP System - by BiosMarcel - 09.09.2017, 15:30
Re: Simple VIP System - by Meller - 09.09.2017, 15:32

Forum Jump:


Users browsing this thread: 1 Guest(s)