Jump to content

Help me with fixing errors and warnings please


papam77

Recommended Posts

Helo, i decided to fix everything.

Here are my errors and warnings.

warn1.png

Line 448

        dxDrawText(cv,(1205*(sw/1920))+(7*(sw/1920)),(((middle+116)*(sh/1080))+((28*(sh/1080))*(#playersWT-1)))+((28*(sh/1080))*(playersCount-1))+((28*(sh/1080))*(teamsi-1)),1418*(sw/1920),447*(sh/1080),tocolor(255,255,255,255),1.3*(sh/1080),"default","left","top",false,false,false) 

warn2.png

if getElementDimension(vehicle) ~= 999 or getElementDimension(player) ~= 999 or getElementInterior(player) ~= 999 or getElementInterior(vehicle) ~= 999 then 
            setElementDimension(vehicle, 999) 
            setElementDimension(player, 999) 
-------------- Line 60 
            setElementInterior(vehicle, 999) 
-------------- Line 61 
            setElementInterior(player, 999) 
        end 
    end 

Link to comment
  • Moderators

dxDrawText(cv,(1205*(sw/1920))+(7*(sw/1920)),(((middle+116)*(sh/1080))+((28*(sh/1080))*(#playersWT-1)))+((28*(sh/1080))*(playersCount-1))+((28*(sh/1080))*(teamsi-1)),1418*(sw/1920),447*(sh/1080),tocolor(255,255,255,255),1.3*(sh/1080),"default","left","top",false,false,false)

does not exist.

to stop the error you can use:

cv or " "  

But it probably does not solve your problem, because you have to find out why "cv" doesn't exist.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...