"No reason entered"
#1

Hi,

i have a regular command which performs an action on a certain player for a reason

How do i make it so that if an admin didn't type a reason it would be automatically 'No reason' or something like that ?

Thanks
Reply
#2

This is an example:
pawn Код:
new id, reason[64];
if (sscanf(params, "dS(No reason)[64]", id, reason)) //return 0;
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)