Jump to content

MrSecreto07

Members
  • Content Count

    16
  • Joined

  • Last visited

Community Reputation

3 Neutral

About MrSecreto07

  • Rank
    Square

Details

  • Gang
    turf

Recent Profile Visitors

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

  1. Thank you so much @pa3ck I worked perfectly
  2. hi guys i have this script of lottery by Al3grab I want to use this resource but I have noticed that the players can buy the amount of tickets they want without any limit, I have tried several ways to make them only buy 1 ticket and so far I have not been able to even try the removeCommandHandler If anyone can help me on this I would appreciate it LOT_PRIZE_NUM = 1000 -- The lottery prize . LOT_PRIZE_PLUS = 100 -- If no one won the prize it will be increased , this is the plus number . LOT_PRIZE_PLUS_TIMES = 5 -- If no one won the prize it will be increased , this i
  3. Is worked the teams, thanks But I noticed a small error, the players that are not in one of those teams can use the command, they do not see anything in the chat but those who are in the teams if they can see what those players write.
  4. I created this code: function RadioChat ( thePlayer, cmd, ... ) local theTeam = getTeamFromName ( "Team1") if ( theTeam ) then local message = table.concat ( { ... }, " " ) local name = getPlayerName(thePlayer) local players = getPlayersInTeam ( theTeam ) for playerKey, playerValue in ipairs ( players ) do outputChatBox("(*RADIO*) " .. getPlayerName ( thePlayer ) .. " #ffffff"..message, playerValue, 0, 0, 255, true) end end end addCommandHandler ( "radio", RadioChat ) It's a chat radio that I want to be visible only to 4 teams. The only thing I lack is to be able to add
  5. Can you be a bit more specific? It's just that I'm new to LUA
  6. Hi guys again How can I create a chat script that is visible only for 4 teams? Someone can help me by telling me which commands should I use
  7. it does not work I tried with each one of the anim of "sex" found in this blog: Http://forum.sa-mp.com/showthread.php?t=153659 In that list are found those that mentioned but when trying them did not work.
  8. The group "BLOWJOBZ" and "SNM" also do not exist in the wiki and if they work Examples: function animationCommand ( source ) setPedAnimation (source, "BLOWJOBZ", "BJ_COUCH_LOOP_W", -1, true, false, false ) end addCommandHandler ( "sex1", animationCommand ) function animationCommand ( source ) setPedAnimation (source, "SNM", "SPANKINGP", -1, true, false, false ) end addCommandHandler ( "sex2", animationCommand )
  9. Hello Community! I have a problem, I've been trying to make a sex script for a week but I still can not make it work. The animations within the "SEX" group do not work for me, those of the "SNM" group and "BLOWJOBZ" work perfectly, but the ones that interest me are SEX and I still can not find the reason why they do not work for me. function animationCommand ( source ) setPedAnimation (source, "SEX", "SEX_1_FAIL_W", -1, true, false, false ) end addCommandHandler ( "sex1", animationCommand ) function animationCommand ( source ) setPedAnimation (source, "SEX"
  10. test this: <script src="main.lua" type="server" /> <script src="mainc.lua" type="client" />
  11. MrSecreto07

    Question

    Hello Community! I have a question and I would like to know who helps me ... Is there a way to make a script for a player to die when hit by a vehicle? In case if it can be done, I would like you to tell me the functions I need to do it.
  12. thank you guys Now works perfectly
  13. Hi guys! I need help I made this script so that when a player takes a marker he earns 30,000, the problem is that I add the destroyElement function to eliminate the marker when taking it, but I want to only delete the player that takes it and not all. local money2 = createMarker(-282.60000610352, 405.79998779297, 69.300003051758, 'corona', 7, 255, 0, 0, 255) setElementDimension (money2, 336) function playrules(thePlayer) givePlayerMoney (thePlayer, 35000) destroyElement(money2) end addEventHandler ( "onMarkerHit", money2, playrules )
×
×
  • Create New...