[DUV]Tosca
#5

pawn Код:
new 3DText:Stats3DText[MAX_PLAYERS];

OnPlayerConnect:

Stats3DText[playerid]=CreatePlayer3DTextLabel(playerid, "", Cor, -20.0, 0.0, 0.0, 30.0);

OnPlayerCommandText:

if(..., "/status")
{    
    new string[100]; //alterar pra quanto quer que seja o mбximo de caracteres
    strins(string, cmdtext, 7, sizeof string);    
    if(!strlen(string)) return SendClientMessage(..."Sintaxe: /Status [Aзгo].");
 
    UpdatePlayer3DTextLabel(playerid, Stats3DText[playerid], Cor, string);
    new Float:Pos[3];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    Attach3DTextLabelToPlayer(playerid, Stats3DText[playerid], Pos[0], Pos[1], floatadd(Pos[2],2.0));
    return 1;
}
Reply


Messages In This Thread
[DUV]Tosca - by Andre_Elite - 29.11.2010, 19:18
Re: [DUV]Tosca - by Macintosh - 29.11.2010, 19:27
Re: [DUV]Tosca - by Andre_Elite - 29.11.2010, 19:29
Re: [DUV]Tosca - by Macintosh - 29.11.2010, 19:35
Re: [DUV]Tosca - by CyNiC - 29.11.2010, 19:52
Re: [DUV]Tosca - by Erick_Schultz - 29.11.2010, 21:17
Re: [DUV]Tosca - by Andre_Elite - 30.11.2010, 08:41
Re: [DUV]Tosca - by Macintosh - 30.11.2010, 11:04
Re: [DUV]Tosca - by rjjj - 30.11.2010, 11:55
Re: [DUV]Tosca - by TiagoPS - 30.11.2010, 13:07

Forum Jump:


Users browsing this thread: 1 Guest(s)