debug error
#1

pawn Код:
[22:53:27] [debug] Server crashed while executing rp.amx
[22:53:27] [debug] AMX backtrace:
[22:53:27] [debug] #0 00000065 in Float:operator*(Float:,_:) (Float:oper1=0.00000, oper2=116, ... <22 variable arguments>) at C:\Users\Filip\Desktop\SAMP 0.3Z\pawno\include\float.inc:112
[22:53:27] [debug] #1 00000065 in Float:operator*(Float:,_:) (Float:oper1=0.00000, oper2=0) at C:\Users\Filip\Desktop\SAMP 0.3Z\pawno\include\float.inc:112
[22:53:27] [debug] #2 0000cc5c in public OnPlayerCommandText (playerid=15, cmdtext[]=@0x00b40744 "/carsign LS-RP.ROSPD! Trage pe...") at C:\Users\Filip\Desktop\SAMP 0.3Z\pawno\include\zcmd.inc:108
[22:53:27] [debug] System backtrace:

pawn Код:
COMMAND:carsign(playerid,params[])
{

    if(InCopCar(playerid))
    {
        new veh = GetPlayerVehicleID(playerid);
        if(!usedcarsign[veh])
        {

            new str[11];
            new result[11];
            FetchParamText(result,params,0);
            if(IsIp(result)) { SendClientMessage(playerid,COLOR_LIGHTRED,"Nu poti pune ip-uri pe carsign"); return 1; }
            if(!strlen(result)) { SendClientMessage(playerid,COLOR_GREY,"FOLOSESTE: /carsign [text]"); return 1; }
            format(str,sizeof(str),"%s",result);
            carsign[veh] = Create3DTextLabel(str, 0xFFFFFFFF, 30.0, 40.0, 50.0, 40.0, 0, 0);
            Attach3DTextLabelToVehicle(carsign[veh], veh, -0.6, -2.5, -0);
            usedcarsign[veh] = 1;
            //Update3DTextLabelText(carsign[veh],0xFFFFFFFF,veh);
            return 1;
        }
        else
        {
       
            usedcarsign[veh] = 0;
            Delete3DTextLabel(carsign[veh]);
        }

    }
    else
    {

        SendClientMessage(playerid,COLOR_GREY,"Nu esti intr-o masina guvernamentala");
        return 1;

    }
    return 1;

}
Reply
#2

up!!
Reply
#3

upp !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)