Jump to content

MrXz

Members
  • Posts

    127
  • Joined

  • Last visited

About MrXz

  • Birthday 22/03/1997

Details

  • Gang
    ~Family ePic!
  • Location
    Lima / Perú
  • Occupation
    Race Scripter
  • Interests
    Scripts Race, My Clan :B , etc

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

MrXz's Achievements

Poot-butt

Poot-butt (14/54)

0

Reputation

  1. Ahora si cierren porfavor, ya lo solucione
  2. verdad se me olvidaba preguntar, como haria para hacer esto con un comando addEventHandler ( "onPlayerCommand", root, function unbuy ( command ) if ( command == "nextmap" ) then cancelEvent ( ) end end ) addCommandHandler ( "unbuymap", unbuy )
  3. Ok, de igual manera gracias pekio.
  4. Justo encontre el "removeCommandHandler" en la wiki, gracias Solid ! Cierre el tema porfavor.
  5. Solo quiero cancelar el comando, no cambiarlo, estoy haciendo un 'UnbuyMap' y pues al comprar un mapa ejecuta un comando, ahora lo que quiero lograr es cancelar dicho comando para que se devuelva el dinero. PD: Puedo usar "removeCommandHandler" ?
  6. Hola amigos!, Como puedo cancelar un comando ya hecho, por ejemplo pongo /nextmap, como haría para cancelar dicho comando, se los agradecería mucho
  7. Robo? ._. Es el viejo panel de TG ... acaso no lees lo que dijo @Yakuza357 Además el panel de TG no se puede robar, ya que casi todas las funciones estan en un script server , lo que estoy posteando es un script "server" asi que deja de decir tonterías
  8. @Yakuza357 : Que yo sepa, ya no hay temas sobre el panel. @pekio123: No entendí la pregunta.
  9. Hola a todos!, bueno encontré en mi baúl de scripts antiguos y encontre un 'Race-userpanel', lo inicie y pues vi 'Buymap' pero cuando doy a comprar, no sale nada, ademas no hay nada en "/debugscript 3", estaba intentando modificarlo pero igual no funciona =/ Si alguien supiera de esto, por favor ayúdenme D: se los agradecería bastante. function buyMap(thePlayer,mapName) local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) if mapIsAlreadySet == false then if not (mapName == "") then if playerCash >= mapCost then triggerEvent("onExternalNextmapRequest",thePlayer,thePlayer,mapName) else outputChatBox("#0095FF* #FFFFFFYou don't have enough money to set a map!",thePlayer,255,255,255,true) end else outputChatBox("#0095FF* #FFFFFFPlease select a map from the list first!",thePlayer,255,255,255,true) end else outputChatBox("#0095FF* #FFFFFFA map is already set at the moment! Please try again later.",thePlayer,255,255,255,true) end end function resetMapSetStatus() mapIsAlreadySet = false end addEventHandler("onMapStarting",getRootElement(),resetMapSetStatus) addEvent("onScriptSetNextMap",true) addEventHandler("onScriptSetNextMap",getRootElement(), function (mapName) thePlayer = source local playerCash = tonumber(loadPlayerData(thePlayer,"cash")) savePlayerData(thePlayer,"cash",playerCash-mapCost) outputChatBox("#FFFFFFNextmap: "..getPlayerName(thePlayer).."#FFFFFF has bought a next map!",getRootElement(),255,255,255,true) outputChatBox("#FFFFFFNextmap: #FF8800"..mapName,getRootElement(),255,255,255,true) mapIsAlreadySet = true scoreboardRefresh(thePlayer) end) addEvent("onRaceSetNextMap",true) addEventHandler("onRaceSetNextMap",getRootElement(), function () mapIsAlreadySet = true end)
  10. Pero ya configue el textlib y aun no funciona
  11. Tratare de revisar la fuente. Gracias por todo, ahora ya aprendí a configurar bien la fuente
  12. No salio nada y puse /debugscript 3 y me encontre con esto:
  13. Seria asi entonces? dxDrawColorText ('Map: ' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(3.3, font)/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 2, font, 2, 'left')
  14. Hola a todos ! Tengo un problema al crear un 'font', no aparece. ¿Cual seria el problema? local font = dxCreateFont( "font.ttf") dxDrawColorText ('Map: ' .. g_MapInfo.name, 2, screenHeight - dxGetFontHeight(3.3, 'font')/2, 100, 100, tocolor ( 255, 255, 255, 255 ), 2, 'font', 2, 'left')
×
×
  • Create New...