13.12.2010, 12:26
You can use https://sampwiki.blast.hk/wiki/Strmid for that
You might need to mess around with start/stop though.. testing it in your own script ftw
Ive added it as an example below
pawn Код:
new reason[128];
reason = "No Reason Given";
strmid(reason,cmdtext,6,strlen(cmdtext));
Ive added it as an example below
pawn Код:
format(globalmsg,sizeof(globalmsg),"[ADMIN]: Administrator %s has banned player %s for breaking the server rules. %s",adminid,victimid,reason);
SendClientMessageToAll(COLOR_LIGHTBLUE,globalmsg);