18.08.2013, 08:03
something like this?
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
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;
}
http://forum.sa-mp.com/showthread.ph...ghlight=sscanf
http://forum.sa-mp.com/showthread.ph...highlight=zcmd