Jump to content

on car crate


HoLsTeN

Recommended Posts

back this is my code

function onplayerCreateVehicle 
outputChatBox("car create by ..getPlayerName(playerSource), playerSource) ",255,255,0) 
addCommandHandler ( "createvehicle", onplayerCreateVehicle ) 
  

sorry i know the code s rong but i am bad i want you help in the script and you will not sea my face :oops::cry:

Link to comment
back this is my code
function onplayerCreateVehicle 
outputChatBox("car create by ..getPlayerName(playerSource), playerSource) ",255,255,0) 
addCommandHandler ( "createvehicle", onplayerCreateVehicle ) 
  

sorry i know the code s rong but i am bad i want you help in the script and you will not sea my face :oops::cry:

addCommandHandler("car",  
  function (player, command, id) 
    outputChatBox("Player "..getPlayerName(player).." created a vehicle ("..id..")", getRootElement(), 255, 255, 0) 
  end 
) 

Link to comment
back this is my code
function onplayerCreateVehicle 
outputChatBox("car create by ..getPlayerName(playerSource), playerSource) ",255,255,0) 
addCommandHandler ( "createvehicle", onplayerCreateVehicle ) 
  

sorry i know the code s rong but i am bad i want you help in the script and you will not sea my face :oops::cry:

addCommandHandler("car",  
  function (player, command, id) 
    outputChatBox("Player "..getPlayerName(player).." created a vehicle ("..id..")", getRootElement(), 255, 255, 0) 
  end 
) 

DID I NEED A SERVER SIDE OR ANY Other COMMAND ????

Link to comment

you asked about /car command, but never posted the actual /car command which creates the cars.

so i put a simple command handler which writes in chat who created (or at least tried to create) a car with /car command.

if you need this - you need to place this code in some server-side script file.

Link to comment

well i get what you mean (ehm i guess), and i've already posted a script which will show in chat who types /car command.

right now you've said nothing new, posted nothing of your actual code and the only "basemode"s i could find in the community are either compiled or private.

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