[Ajuda] Sistema de criaзгo de labels in-game
#1

Fala galera, preciso da ajuda de vocкs com este FS que estou desenvolvendo a alguns dias, tinha deixado ele parado em um canto, mas quero termina-lo.
Bem, quando vou compilar, recebo o seguinte erro:
PHP код:
C:\Users\MatheusFelipe\Desktop\BCE V4.5\filterscripts\Labels.pwn(106) : error 035argument type mismatch (argument 3
Linhas 106:
PHP код:
        DOF2_SetInt(Pasta"Distancia"Msg); 
Prуximas linhas e linhas interiores:
PHP код:
    new Pasta[128], Float:Pos[3];
    
LabelID DOF2_GetInt("Labels/LabelsCriadas.ini""Total de 3DTextLabels criadas")+1;
    
format(Pasta128PASTA_LABELSLabelID);
    if(
dialogid == Dialog_Nova_Label_Distancia)
    {
        new 
Msg[128];
        
format(Msg128inputtext);
        
DOF2_SetInt(Pasta"Distancia"Msg);
        
Create3DTextLabel(DOF2_GetString(Pasta"Texto"), DOF2_GetInt(Pasta"Cor"), DOF2_GetFloat(Pasta"PosicaoX"), DOF2_GetFloat(Pasta"PosicaoY"), DOF2_GetFloat(Pasta"PosicaoZ"), DOF2_GetInt(Pasta"Distancia"), DOF2_GetInt(Pasta"Mundo"), 0);
        
DOF2_SetInt("Labels/LabelsCriadas.ini""Total de 3DTextLabels criadas"LabelID);
        
format(Msg128"{00FF00}Label ID: %d criada."LabelID);
        
SendClientMessage(playerid, -1Msg);
        
DOF2_SaveFile();
        return 
1;
    } 
Quem poder me ajudar, fico imensamente grato.
Abraзos.
OBS: No pastebin, na linha 106, estб faltando o ъltimo parametro, mas o ъltimo parametro que estava lб й "Msg".
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)