Why most of the commands...
#1

Why most of the commands in the GF / LA_RP check if the player is connected? It 'is a useless thing or what?
Reply
#2

Now it is, but when they were made, it was necaserry, cuz kicked players could call commands.
Reply
#3

Ok, thanks for the explanation.
Reply
#4

No probs <fucking antispam function forced me to wait 88 seconds.. blargh>
Reply
#5

They just could have placed this once on OnPlayerCommandText:

Код:
if(!IsPlayerConnected(playerid))
    return 1;
But instead they did this in every command, no idea why just bad scripting.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)