Jump to content

[HELP]


xeon17

Recommended Posts

I'm noob at scripting :( my english isn't so good so i not understand much about this

:/

createMarker ( 298 x, 1815 y, 5 z [, string theType = "checkpoint", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255 ] )

function teamName ( source, key, newTeamName )

if ( playerTeam ) then -- if he's on a team

local oldTeamName = getTeamName ( playerTeam ) -- get the team's current name

function whatTeamAmIOn ( source )

-- Get the player's team (source is the player who entered the command)

local playerTeam = getPlayerTeam ( source )

addCommandHandler ( string buy, BuyBase, [bool caseSensitive = true] )

local money = getPlayerMoney(thePlayer) -- get the amount of money from the player who entered the command

if (money > 1000000) then

function takeCash ( thePlayer, command, 1000000 ) -- when the takecash command is called

takePlayerMoney ( thePlayer, tonumber(1000000) ) --

Link to comment
createMarker ( 298 x, 1815 y, 5 z [, string theType = "checkpoint", float size = 4.0, int r = 0, int g = 0, int b = 255, int a = 255 ] ) 
function teamName ( source, key, newTeamName ) 
if ( playerTeam ) then -- if he's on a team 
local oldTeamName = getTeamName ( playerTeam ) -- get the team's current name 
function whatTeamAmIOn ( source ) 
-- Get the player's team (source is the player who entered the command) 
local playerTeam = getPlayerTeam ( source ) 
addCommandHandler ( string buy, BuyBase, [bool caseSensitive = true] ) 
local money = getPlayerMoney(thePlayer) -- get the amount of money from the player who entered the command 
if (money > 1000000) then 
function takeCash ( thePlayer, command, 1000000 ) -- when the takecash command is called 
takePlayerMoney ( thePlayer, tonumber(1000000) ) -- 

you should use this code

  

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...