Tag system
#1

Hi im in mobile but i ned a tag system like when you type in game /tag then you can type what tag to you want. You know?
I vang fond it enywhrre
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)