Jump to content

| إستفسآر |


PaiN^

Recommended Posts

لو سمحتوا وضحوا لي الخطأ وين

marker = createMarker( 849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
addEventHandler( "onMarkerHit", marker 
    function ( source )  
        if ( getElementModel ( source ) == "player" ) and ( getElementModel ( source ) ~= 0 ) then  
            setPedSkin ( source, 0 )  
            outputChatBox( "!! تم تغير الشخصية بنجاح", source, 210, 0, 0, true ) 
        else 
            outputChatBox( "", source, 210, 0, 0, false ) 
        end 
    end 
) 
  

Link to comment
لو سمحتوا وضحوا لي الخطأ وين
marker = createMarker( 849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
addEventHandler( "onMarkerHit", marker 
    function ( source )  
        if ( getElementModel ( source ) == "player" ) and ( getElementModel ( source ) ~= 0 ) then  
            setPedSkin ( source, 0 )  
            outputChatBox( "!! تم تغير الشخصية بنجاح", source, 210, 0, 0, true ) 
        else 
            outputChatBox( "", source, 210, 0, 0, false ) 
        end 
    end 
) 
  

marker = createMarker( 849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
addEventHandler( "onMarkerHit", marker, 
    function ( source )  
        if ( getElementModel ( source ) == "player" ) and ( getElementModel ( source ) ~= 0 ) then  
            setPedSkin ( source, 0 )  
            outputChatBox( "!! تم تغير الشخصية بنجاح", source, 210, 0, 0, true ) 
        else 
            outputChatBox( "", source, 210, 0, 0, false ) 
        end 
    end 
)  

ناقصك فاصله في السطر 3

Link to comment
  
marker = createMarker( 849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
addEventHandler( "onMarkerHit", marker, 
    function () 
        if ( getElementModel ( source ) == "player" ) and ( getElementModel ( source ) ~= 0 ) then 
            setPedSkin ( source, 0 ) 
            outputChatBox( "!! تم تغير الشخصية بنجاح", source, 210, 0, 0, true ) 
        else 
            outputChatBox( "", source, 210, 0, 0, false ) 
        end 
    end 
) 
  

Link to comment

-- Server Side !

marker = createMarker( 849.59246826172, -2042.9193115234, 12.8671785, "cylinder", 1.5, 255, 0, 0, 255 ) 
  
addEventHandler( "onMarkerHit", marker, 
    function ( hitElement ) 
        if ( getElementType ( hitElement ) == "player" ) and ( getElementModel ( hitElement ) ~= 0 ) then 
            setElementModel ( hitElement, 0 ) 
            outputChatBox( "!! تم تغير الشخصية بنجاح", hitElement, 210, 0, 0, true ) 
        else 
            outputChatBox( "", hitElement, 210, 0, 0, false ) 
        end 
    end 
) 

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...