21.02.2015, 20:58
Код:
#include <a_samp> #define DialogInsert3D 1 #define Distancia 40.0 #define Cor 0xF09C00AA new Text3D: Texto, Float: P[3] ; public OnFilterScriptInit() { return 1; } main() return 1; public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/label", cmdtext, true) == 0) { ShowPlayerDialog(playerid, DialogInsert3D, DIALOG_STYLE_INPUT, "{00FF00}.:: Texto » 3D Text Label ::.","Insira o texto da 3D Text Label:","Confirmar","Cancelar"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DialogInsert3D) { if(response) { GetPlayerPos(playerid, P[0], P[1], P[2]); Texto = Create3DTextLabel(inputtext, Cor, P[0], P[1], P[2], Distancia, 0); Update3DTextLabelText(Texto, Cor, inputtext); } } return 1; }
Pois o principal o comando eu fis mais nao consigo fazer pra salvar..e tbm pra fazer varias cores..
Quem ajudar, ficarei grato .