Jump to content

[SR]mR.EmiN

Members
  • Content Count

    10
  • Joined

  • Last visited

Community Reputation

0 Neutral

About [SR]mR.EmiN

  • Rank
    Member
  • Birthday 02/10/1994

Details

  • Gang
    TR

Recent Profile Visitors

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

  1. function getPlayerPoints (thePlayer) local Points = loadPlayerData (thePlayer,"wins") if (Points <= 0 ) then savePlayerData (thePlayer,"rank",loadPlayerData(thePlayer,"rank") + 1) elseif (Points <= 100 ) then savePlayerData (thePlayer,"rank",loadPlayerData(thePlayer,"rank") + 1) elseif (Points <=250 ) then savePlayerData (thePlayer,"rank",loadPlayerData(thePlayer,"rank") + 1) elseif (Points <= 500 ) then savePlayerData (thePlayer,"rank",loadPlayerData(thePlayer,"rank") + 1) elseif (Points <= 1000 ) then savePlayerData (thePlayer,"rank",loadPlayerData(thePlayer,"r
  2. addEventHandler("onNotifyPlayerReady", getRootElement(), function() local playerTeam = getPlayerTeam" class="kw2">getPlayerTeam (source) local PVeh= getPedOccupiedVehicle(source) if ( playerTeam ) then local teamName = getTeamName(playerTeam) if teamName == "[T1]" then setVehicleColor(PVeh,30,255,0) setBlipColor(155,13,43) end end end) setVehicleColor
  3. if (string.find(message,"!stats")) and not (string.find(message," !stats")) then local playerCash = loadPlayerData (source,"cash") local playerPoints = loadPlayerData (source,"points") local playerRank = getElementData (source,"Rank") setTimer(outputChatBox,50,1,getPlayerName (source) .. " #ffd700has " .. tostring(playerCash) .. "$ and " .. tostring(playerPoints) .. " points! He is Rank " .. tostring(playerRank) .. "!",getRootElement(),255,0,0,true) true ur code working, how do i rank command??
  4. i have xml record system i use pointsystem script i want level system i doesnt make pls help me look my code function getPlayerPoints (thePlayer) local Points = loadPlayerData (source,"points") if (Points <= 0 ) then setElementData(getLocalPlayer(), "Rank") "Level 1" elseif (Points <= 100 ) then setElementData(getLocalPlayer(), "Rank") "Level 2" elseif (Points <=250 ) then setElementData(getLocalPlayer(), "Rank") "Level 3" elseif (Points <= 500 ) then setElementData(getLocalPlayer(), "Rank") "Level 4" elseif (Points <= 1000 ) then setElementData(getLocalPlayer(), "R
  5. addEventHandler("onPlayerChat",getRootElement(), function(message,type) if message == "!points" or gettok(message, 1, string.byte(' ')) == "!points" then local target = getPlayerFromName(gettok(message, 2, string.byte(' '))) or source local playerPoints = loadPlayerData (target,"points") setTimer(outputChatBox,50,1,getPlayerName (target) .. " #FF0000has " .. tostring(playerPoints) .. " points!",getRootElement(),255,0,0,true) end end) This command need full name but i need shortname.This command need !points [sR]mR.EmiN:( but i need !points emin comma
  6. function getPointRank(points) local rank = "No Rank" if points => 10000 then rank = "Super Mega Rank with 10000 or more points" elseif points => 2000 then rank = "Super Rank with 2000-9999 points" elseif points => 1000 then rank = "Rank with 1000-1999 points" elseif points => 500 then rank = "Second Rank with 500-999 points" elseif points => 0 then rank = "First Rank with 0-499 points" end return rank end how can i make rank system i use pointsystem data system xml pls helpme
  7. I did not know, thank you
  8. Second map. Download http://www.mediafire.com/?iyqbmjh0e7t4md2
  9. My first map. Download http://www.mediafire.com/?ksys98khwlyarjs
×
×
  • Create New...