Search the Community
Showing results for tags 'joinquit'.
-
ERROR: Problem with resource: [gameplay]; Couldn't find script joinquit.lua for resource [gameplay] Resources: 275 loaded, 1 failed alguien que me pueda ayudar con este problema porfavor (aqui dejo mi discord)????????#0213
-
Hey guys i'm new in scripting, i used wiki to learn i have made this code just to test myself addEventHandler("onPlayerChangeNick", getRootElement(), wasNickChangedByUser) function changenick (onPlayerChangeNick) outPutChatBox ( " Your have been changed your nickname " ) end How can i fix it ?, ik it's cancer ====================================================================== after some time because no one answered I tried this code and it's worked addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('You have been changed your nickname', 255, 100, 100) end) But what's is " root, " and why in some script there is function testmod (oldNick, newNick) And other script only function(oldNick, newNick)
-
local screenW, screenH = guiGetScreenSize() addEventHandler("onClientRender", root, function() dxDrawRectangle(screenW * 0.7951, screenH * 0.1944, screenW * 0.1979, screenH * 0.1033, tocolor(0, 0, 0, 131), false) end ) function greetPlayer ( ) local joinedPlayerName = getPlayerName ( source ) dxDrawText("#00baff" .. joinedPlayerName .. "#FFffFFJött Kockulni!", 1151, 181, 1420, 202, tocolor(255, 255, 255, 255), 1.00, "default-bold", "left", "top", false, false, false, true, false) end addEventHandler ( "onPlayerJoin", getRootElement(), greetPlayer )