[Ajuda] Pawno Crashando
#1

To adaptando um fs pro meu gamemode ai tipo quando boto esse comando ele crasha
PHP код:
CMD:pinchar(playerid);
{
    new 
string[600];
    if(!
IsPlayerAdmin(playerid)) return SCM(playeridCOLOR_RED3MSG_CMD_WITHOUT_PERMISSION);
        if(
Criando[playerid] == false)
         {
          
Texto[playerid] = "Texto",
            
Fonte[playerid] = "Arial",
            
CorTexto[playerid] = HexToInt(COLOR_WHITE),
            
Fundo[playerid] = 0,
            
Criando[playerid] = true;
        
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]),GetPlayerFacingAngle(playeridPos[3]);
        new 
Float:Pos[0] + (5.0 floatsin(-Pos[3], degrees));
        new 
Float:Pos[1] + (5.0 floatcos(-Pos[3], degrees));
    
        
Objeto[playerid] = CreatePlayerObject(playeridObjeto2[playerid], xyPos[2]+0.50.00.0Pos[3] - 90.0);
        
SetPlayerObjectMaterialText(playeridObjeto[playerid], Texto[playerid], Index[playerid], MSize[playerid],
        
Fonte[playerid], Size[playerid], Bold[playerid], CorTexto[playerid], Fundo[playerid], Align[playerid]);
        
EditObject(playeridObjeto[playerid]);
        
strcat(string"Texto\nSize do Material\nFonte\nFonte size\nCor\nDeletar\nMover");
        
ShowPlayerDialog(playeridPRINCIPALDIALOG_STYLE_LIST"Menu"string"Escolher""Fechar");
         }
          else
           {
            
SCM(playeridCOLOR_RED3MSG_CMD_WITHOUT_PERMISSION);
        }
    return 
true;

Reply
#2

Tem certeza ?

Код:
CMD:pinchar(playerid);
Padrгo:

Код:
CMD:pinchar(playerid)
Reply
#3

Quote:
Originally Posted by PilateGR
Посмотреть сообщение
Tem certeza ?

Код:
CMD:pinchar(playerid);
Padrгo:

Код:
CMD:pinchar(playerid)
Me desculpa deixei passar isso.

@@CLOSED
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)