30.11.2010, 13:07
Tб Na Hand
pawn Код:
if(strcmp(cmd, "/status", true) == 0)
{
new Text3D:Label[MAX_PLAYERS];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, 0xFF0000AA, "USO: /status [Aзгo]");
return 1;
}
Delete3DTextLabel(Label[playerid]);
new String[128];
format(String, sizeof(String), "Eu Estou %s",Nome, cmdtext[8]);
Label[playerid] = Create3DTextLabel(String,0x008080FF,30.0,40.0,50.0,40.0,0);
Attach3DTextLabelToPlayer(Label[playerid], playerid, 0.0, 0.0, 0.7);
return 1;
}