Need some help with command /random
#10

pawn Код:
if (strcmp("/random", cmdtext, true, 10) == 0)
{
   if(IsPlayerAdmin(playerid)==1)
   {
     new str[128];
     new hit = random(14);
     format(str,sizeof(str),"/hit %d 1000",hit);
     SendPlayerMessageToAll(playerid,str);
     return 1;
   }
   return 0;
}
Hm, really it sends a default chat message...I will take it into a count.
Reply


Messages In This Thread
Need some help with command /random - by zwartebanaan - 06.02.2009, 05:20
Re: Need some help with command /random - by Auto-Sized - 06.02.2009, 10:56
Re: Need some help with command /random - by zwartebanaan - 06.02.2009, 11:21
Re: Need some help with command /random - by CracK - 06.02.2009, 12:12
Re: Need some help with command /random - by Streetplaya - 06.02.2009, 12:18
Re: Need some help with command /random - by MenaceX^ - 06.02.2009, 12:20
Re: Need some help with command /random - by Streetplaya - 06.02.2009, 13:10
Re: Need some help with command /random - by CracK - 06.02.2009, 13:20
Re: Need some help with command /random - by Streetplaya - 06.02.2009, 13:23
Re: Need some help with command /random - by CracK - 06.02.2009, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)