Do I need IsPlayerConnected in this?
#1

Do I need the server to check:
pawn Code:
if(IsPlayerConnected(playerid))
when someone does /buygun? Like if they do /buygun doesn't that mean the're connected? The GM I'm using had that when I got it so I'm unsure.

Thanks,
jakejohnsonusa
Reply
#2

No, or are not connected players able to use commands?
Reply
#3

as far as I'm concerned, you don't need IsPlayerConnected in any of the default callbacks....as they wouldn't get called if the player wasnt connected.
Reply
#4

In this case they wouldn't be able to use it if they aren't connected as it then checks to see if they have a Gun License. So Thanks guys, I'll remove it. That make life way easier!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)