Quote:
Originally Posted by fiki574_CRO
LOL, really?
pawn Код:
public OnPlayerConnect(playerid) { if(IsPlayerBanned(playerid) == true) { ShowPlayerDialog(playerid, D, DIALOG_STYLE_MSGBOX, "Notice", "You are currently banned from the server. Please post Unban Appeal in our forum blablablalah ", "Close", ""); } else { SendClientMessage(playerid,-1,"Welcome to my server"); } return 1; }
pawn Код:
stock bool:IsPlayerBanned(playerid) { //code ban check, "return true" if player banned, "return false" if player not banned }
|
Omg thanks bro! But where do I get the stock? i'm using luxadmin..