#2

Код:
CMD:setheadtext(playerid, params[]) 
{ 
    new targetid, text[128]; 
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "* You are not Authorized to use this command *"); 
    if(sscanf(params,"us[128]",targetid, text)) return SendClientMessage(playerid,0xFF9900AA, "USAGE: * {FF0000} /Setheadtext [id] [text]*"); 
[line 110]   new Text3D:label = Create3DTextLabel(text, -1, 30.0, 40.0, 50.0, 40.0, 0); 
    Attach3DTextLabelToPlayer(label, targetid, 0.0, 0.0, 0.7); 
    return 1; 
}
Change text variable to string.
Reply


Messages In This Thread
Help - by SaiyanZ - 09.05.2016, 14:06
Re: Help - by TheSimpleGuy - 09.05.2016, 14:08
Re: Help - by Konstantinos - 09.05.2016, 14:08
Re: Help - by oMa37 - 09.05.2016, 14:09

Forum Jump:


Users browsing this thread: 1 Guest(s)