26.12.2010, 12:16
1є
2є
https://sampforum.blast.hk/showthread.php?tid=173944
pawn Код:
if(strcmp(cmd, "/mudarnome", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new nomedado[256], tmp[256], id;
id = strval(tmp);
nomedado = strtok(cmdtext, idx);
if(!strval(tmp))return SendClientMessage(playerid, 0xFFFFFFFF, "Use: /mudarnome id nome");
if(!strlen(nomedado))return SendClientMessage(playerid, 0xFFFFFFFF, "Use: /mudarnome id nome");
new string[44];
format(string, sizeof(string), "%s", nomedado);
SetPlayerName(id, string);
return 1;
}
}
2є
https://sampforum.blast.hk/showthread.php?tid=173944