Jump to content
[[Template core/front/profile/profileHeader is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

Posts posted by Vetor3x

  1. Hello peeps,

    this is small tutorial if you wanna use old commands as !points, !cash, !stats ....

    if (string.find(message,"something")) - this is condition if you write text with "something" for example !something it gonna do some function

    and not (string.find(message," something")) then - This is an exception, if you write something with a space before n, the script will continue

    Example 1

    addEventHandler ("onPlayerChat",getRootElement(),
    function(message,type)
    if (string.find(message,"!cash")) and not (string.find(message," !cash")) then
    
    ----some functions
    
    end -- Close condition
    end -- Close function
    )

    Example 2

    addEventHandler ("onPlayerChat",getRootElement(),
    function(message,type)
         if (string.find(message,"!cash")) and not (string.find(message," !cash")) then
    
    --function
    
    elseif (string.find(message,"!stats")) and not (string.find(message," !stats")) then -- Is possible to add more condition's
    
    --functions
    
    end -- Close condition
    end -- Close function
    )

    Example 3

    addEventHandler ("onPlayerChat",getRootElement(),
    function(message,type) -- Function
    if (string.find(message,"!points")) and not (string.find(message," !points")) then -- Our condition
    local player = getPlayerName (source)
    local points = getPlayerPoints(source)
    outputChatBox("#ffffff" .. player .. " #ffffffhas " .. points .. "  points", getRootElement(), 255, 0, 0,true ) -- Message to chat
    end -- Close function
    end -- Close condition
    )

    Hope it gonna help someone (:

  2. Nothing can come between you and your destiny, if you grab hold of every opportunity. Nothing can come between you and your fate, if you strive to be great. Nothing can comebetween you and success, if you give it your best shot and nothing less - REMEMBER these words, at least Good luck for your exams, this game isn't important as your life is.

    sjveq0fbks5x5wt8asa.jpg

  3. Hello AmiabLe. I am sure you really don't care about mine or our option's. But in case you do, I have some notes for your newest map.

    Well.. to be honest with you and everyone who's reading this message.. I really do not like your decoration's. Looks you inspirated by ClaudiO which used these objects which just looks terrible together. There is no contrast or similarity between these objects and in this case in which you used also tropical decorations it looks really terrible. That's for deco.. you really should find your own way and you shouldnt just mix all the various of objects which you like and objects which simply absolutely aren't suitable for the rest.

    Track is one of best which i ever saw in your maps. Keep doing this style. It's really something new and enjoyable from the perspective of the player.

    Have fun, and sorry for critical comment.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.