/rrb (remove road blocks)
#5

Quote:
Originally Posted by AmigaBlizzard
Посмотреть сообщение
PHP код:
if(!IsPlayerConnected(playerid)) return 0
This can be deleted as you need to be connected to execute a command anyway.

PHP код:
if(PlayerInfo[playerid][pRank] < 3
Shouldn't this be
PHP код:
if(PlayerInfo[playerid][pRank] >= 3
This would mean your rank needs to be at 3 or higher to execute this command.
1. It's for more safety, a play may lagg and disconnect before the command executes.

2. Oh, didn't noticed that it was < istead of >=.
Reply


Messages In This Thread
/rrb (remove road blocks) - by CSLangdale - 22.02.2016, 20:45
Re: /rrb (remove road blocks) - by CSLangdale - 23.02.2016, 07:22
Re: /rrb (remove road blocks) - by ]Rafaellos[ - 23.02.2016, 09:09
Re: /rrb (remove road blocks) - by AmigaBlizzard - 23.02.2016, 09:57
Re: /rrb (remove road blocks) - by ]Rafaellos[ - 23.02.2016, 10:44
Re: /rrb (remove road blocks) - by CSLangdale - 23.02.2016, 14:31
Re: /rrb (remove road blocks) - by Pottus - 23.02.2016, 16:47
Re: /rrb (remove road blocks) - by SamJust - 23.02.2016, 19:03
Re: /rrb (remove road blocks) - by CSLangdale - 23.02.2016, 19:32
Re: /rrb (remove road blocks) - by CSLangdale - 23.02.2016, 19:34

Forum Jump:


Users browsing this thread: 3 Guest(s)