I need help fixing these bugs from NGRP Script!
#1

Well i want to learn how to fix these bugs so please help me.

First and most annoying bug i have.
For some reason the ID's on the server are stuffed up. the IDs that are working are 0, 1, 2, but 3 and the rest are stuffed.
E.G
If i type /pay 0 1000 it works
but
If i type /pay 3 1000 it pays someone else and not the player i want to pay.
Can someone please tell me how to fix it and why it is happening?

Last Bug

The pizza boy job on my server is stuffed up for example, say i get the pizza boy job and join it and now i am a pizza boy, then i go to get some pizza by typing /getpizza, when i type that the whole server stuffs up, every one can not use there commands.
E.G
Someone type /getpizza at the stacking spot
then
Someone needs help with commands so he type /help but when he types that it does not work, no command works.
How can i fix this and why is it happening?

Thanks if you helped!!
Reply
#2

Please show us your script dude !
Reply
#3

Well the bug happens in game so i have no idea were i can fix the bug so were can it be fixed.
Reply
#4

but cant u show us code ? Like /pizza cmd etc
Reply
#5

This normally happens when you have an outdated include or plugin. If you're using sscanf try updating your includes and plugins.

https://sampforum.blast.hk/showthread.php?tid=120356
Reply
#6

Every time i would try to drag the plugin in the plugin file it says can not find specified file.
Help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)