12.08.2011, 22:47
pawn Код:
if(strcmp(cmdtext,"/label",true) == 0)
{
new string[128], tmp[128], idx;
new PlayerText3D:playertextid;
new Float:X, Float:Y, Float:Z;
GetPlayerPos( playerid, X, Y, Z );
tmp = strtok(cmdtext, idx);
format(string,128,"%s",tmp);
playertextid = CreatePlayer3DTextLabel(playerid,string,0x008080FF,X,Y,Z,40.0);
return 1;
}
I agree with tiger, you should use zcmd, dcmd or some other command processor D: