[HELP] command shop
#4

I think you've just reversed the "NearShop" affectation and the product checking.

Put the "if" statement after the "NearShop[playerid] = i;".

EDIT : @Konstantinos : It is. When you try accessing an up bound or a negative bound cell of an array, it crashes the server (see the "Crashdetect plugin" example)
Reply


Messages In This Thread
[HELP] command shop - by Luca12 - 18.06.2014, 10:15
Re: [HELP] command shop - by Konstantinos - 18.06.2014, 10:20
Re: [HELP] command shop - by Luca12 - 18.06.2014, 10:21
Re : [HELP] command shop - by S4t3K - 18.06.2014, 10:21
Re: [HELP] command shop - by Konstantinos - 18.06.2014, 10:30

Forum Jump:


Users browsing this thread: 4 Guest(s)