Jump to content

Help with Random...


Overkillz

Recommended Posts

  
function aleatorio () 
Nombre_Jugador = getPlayerName(Jugador) 
if getPlayerCount() < minPlayers then 
        return outputChatBox("#4e4e4e* #ff8800[Random ]#ffffff Not enought players to get free Cash | Min. Players:#ff8800 " ..minPlayers.. "",root,255,255,255,true) 
end 
if minPlayers <= getPlayerCount() then 
outputChatBox("#4e4e4e* #ff8800[Random ]#ffffff " ..Nombre_Jugador.. " #ffffffgot #ff8800" ..Dinero.. " #ffffffby #ff8800Random System",getRootElement(),255,255,255,true) 
givePlayerMoney(Jugador, Dinero) 
end 
end 
setTimer(aleatoriocash,3000,0) 
  

Link to comment
  
function aleatorio () 
Nombre_Jugador = getPlayerName(Jugador) 
if getPlayerCount() < minPlayers then 
        return outputChatBox("#4e4e4e* #ff8800[Random ]#ffffff Not enought players to get free Cash | Min. Players:#ff8800 " ..minPlayers.. "",root,255,255,255,true) 
end 
if minPlayers <= getPlayerCount() then 
outputChatBox("#4e4e4e* #ff8800[Random ]#ffffff " ..Nombre_Jugador.. " #ffffffgot #ff8800" ..Dinero.. " #ffffffby #ff8800Random System",getRootElement(),255,255,255,true) 
givePlayerMoney(Jugador, Dinero) 
end 
end 
setTimer(aleatoriocash,3000,0) 
  

A lot of thanks, but I found other way to fix it, anyway, a lot of thanks <3

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...