/radio
#1

Hey guys, thanks to a friend I got one step further On scripting, But he Logged off and So i came here to ask for Help.

dcmd_radio(playerid, params[])
{
if (IsCop[id] == 1)) ((May not be right, I KNOW))
{
new string[256], message;
if(sscanf(params, "z", message)) return SendClientMessage(playerid, ORANGE, "[System] Usage: /radio [Text]");
format(string, sizeof(string), "[Radio] %s: %s", Name(playerid), playerid, message);
}
return 1;

}

I got till that, What do I do Now?

Thanks for the Help.
Reply
#2

pawn Код:
dcmd_radio(playerid, params[])
{
          if (IsCop[id] == 1)) ((May not be right, I KNOW))
          {
               new string[256], message;
               if(sscanf(params, "z", message)) return SendClientMessage(playerid, ORANGE, "[System] Usage: /radio [Text]");                        
                   format(string, sizeof(string), "[Radio] %s: %s", Name(playerid), playerid, message);
                   //Your SendClientMessage here              
                   return 1;
         }
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)