Jump to content

ضـروري ي عيـآل فزعتـكم ..


Recommended Posts

جرب #

addEventHandler ( "onResourceStart", resourceRoot, 
function ( nValue ) 
    outputChatBox(getPlayerName( nValue).. 'Started This Resource ' , root, 255, 255, 0 ) 
   end 
) 

Edited @

Edited by Guest
Link to comment
جرب #

addEventHandler ( "onResourceStart", resourceRoot, 
function ( ) 
    outputChatBox(getPlayerName(source).. 'Started This Resource ' , root, 255, 255, 0 ) 
   end 
) 

The source of this event is the root element in the resource that started.

Link to comment
جرب #

addEventHandler ( "onResourceStart", resourceRoot, 
function ( nValue ) 
    outputChatBox(getPlayerName( nValue).. 'Started This Resource ' , root, 255, 255, 0 ) 
   end 
) 

Edited @

المود لاعب!!!!!!!!

والله جننتني انت

حط التصحيح اشوف . .

Link to comment
جرب #

addEventHandler ( "onResourceStart", resourceRoot, 
function ( nValue ) 
    outputChatBox(getPlayerName( nValue).. 'Started This Resource ' , root, 255, 255, 0 ) 
   end 
) 

Edited @

المود لاعب!!!!!!!!

والله جننتني انت

حط التصحيح اشوف . .

onResourceStart Event :

Parameters :

resource startedResource

السكربت , السكربت اللي اشتغل

بمعنى اصح انت حطيت كذا

nValue = الاعب ؟

والقيمة هذي اساساً في الحدث ترجع للسكربت اللي قــدهـ اشتغل فهمت؟ يعني الحدث هذا مافية شيء يرجع للاعب أساساً من نفس الحدث .

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