09.01.2015, 13:34
Hello guys, i've made this code:
But i wanna try can write on "TESTO" the \n for go on another line and {COLOR} for apply a Color, who can help me?
Thanks all.
Код:
CMD:dp(playerid, params[]) { new testo[128]; if(sscanf(params, "s[128]", testo)) return SendClientMessage(playerid, BIANCO, "/dp [testo]"); for(new i = 0; i < sizeof(DP_Info); i++) { //DP_Info[MAX_DP][dpInfo] if(DP_Info[i][dpCreated] == 0) { new Float:ggX, Float:ggY, Float:ggZ; GetPlayerPos(playerid, ggX, ggY, ggZ); DP_Info[i][dpCreated] = 1; DP_Info[i][dpX] = ggX; DP_Info[i][dpY] = ggY; DP_Info[i][dpZ] = ggZ; DP_Info[i][dpText] = CreateDynamic3DTextLabel(testo,0xFF0000FF,DP_Info[i][dpX],DP_Info[i][dpY],DP_Info[i][dpZ],20.0); return 1; } } return 1; }
Thanks all.