Why does this return Unknown command?
#2

I fail to see why people (no, not just you) use sscanf for one parameter commands.
pawn Код:
dcmd_getid( playerid, params[ ] )
{
   new str[ 128 ];
   new gangid = GetGangIDFromName( params );
   format( str, sizeof( str ), "The gang %s's ID is: %d", name, gangid );
   SendClientMessage(playerid, WHITE, str);
   return 1;
}
Reply


Messages In This Thread
Why does this return Unknown command? - by mrcoolballs - 27.03.2011, 06:26
Re: Why does this return Unknown command? - by Grim_ - 27.03.2011, 06:35
Re: Why does this return Unknown command? - by mrcoolballs - 27.03.2011, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)