SA-MP Forums Archive
problem - 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: problem (/showthread.php?tid=426409)



problem - [..MonTaNa..] - 29.03.2013

.....


Re: problem - Pawnie - 29.03.2013

Can you show the entire code please.


Re: problem - [..MonTaNa..] - 29.03.2013

~~~~~~


Re: problem - Zex Tan - 29.03.2013

Quote:
Originally Posted by MonTaNaAa
Посмотреть сообщение
An Admin Has Caged MonTaNaAa (0) Reason:
So you mean this ^ is not working for Name and ID except Reason ?


Re: problem - [..MonTaNa..] - 29.03.2013

~~~~~~


Re: problem - Zex Tan - 29.03.2013

Add,

pawn Код:
new name[MAX_PLAYER_NAME]
Then

Change your string to this

|
V

pawn Код:
format(string, sizeof(string), "An Admin has Caged %s (%d) Reason: %s", GetPlayerName(playerid, name, sizeof(name)), playerid, reason[0] ? reason : "No Reason Given");