SA-MP Forums Archive
help to rep - 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: help to rep (/showthread.php?tid=337048)



help to rep - Aloushi - 24.04.2012

how to make when player banned send cielnt message you banned by Faour


Re: help to rep - ViniBorn - 24.04.2012

Use format + GetPlayerName + SendClientMessage

Example :
pawn Код:
new VBString[40],AdminName[MAX_PLAYER_NAME];
GetPlayerName(AdminID,AdminName,MAX_PLAYER_NAME); //Adapt AdminID
format(VBString,40,"You banned by %s",AdminName);
SendClientMessage(BannedID,-1,VBString); // Adapt BannedID



Re: help to rep - Elysian` - 24.04.2012

See This.