SA-MP Forums Archive
Bug with /pm and /transfer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Bug with /pm and /transfer (/showthread.php?tid=566539)



Bug with /pm and /transfer - Sc0pion - 06.03.2015

Fixed!


Re: Bug with /pm and /transfer - NoDi522 - 06.03.2015

Hey @Sc0pion

Try to use this:

PHP код:
if(targetid == INVALID_PLAYER_ID) return SendClientMessage(playeridCOLOR_RED"[ ERROR: Player is not online ]"); 
Instead of this:

PHP код:
if(!IsPlayerConnected(target)) return SendClientMessage(playeridCOLOR_RED"[ ERROR: Player is not online ]");