Tag system
#2

something like this?
pawn Код:
cmd:tag(playerid, params[])
{
  new str[50];
  if(!sscanf(params, "s[50]", str))
  {
    new name[MAX_PLAYER_NAME], string[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof(name));
    format(string, sizeof(string), "%s%s", str, name);
    SetPlayerName(playerid, string);
  }
  return 1;
}
if you don't have the sscanf and zcmd plugins:
http://forum.sa-mp.com/showthread.ph...ghlight=sscanf
http://forum.sa-mp.com/showthread.ph...highlight=zcmd
Reply


Messages In This Thread
Tag system - by Fadchor - 18.08.2013, 06:46
Re: Tag system - by Sascha - 18.08.2013, 08:03

Forum Jump:


Users browsing this thread: 1 Guest(s)