Jump to content

on car crate


HoLsTeN

Recommended Posts

Posted

hi all

i have Problem In my server for basemode3 When Player die

he can crate a car i want to make script

To appear in the chatbox who crate the car

to i kick him ^_^

plz

I Am HoLsTeN !

Posted

woot, i don't get what do you mean, seriusly.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

in my server

When the player die in basemode he can make car When he use this comand /car 422

this is the Problem

i want you help me or any somenoe to crate the script

i am hard becose i am bad in the scripts

I Am HoLsTeN !

Posted

omg i still not understanding!!! wait for someone else.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

can't you just disable the /car command?

and if it's used somewhere else (never seen basemode), then add some checks there.

?

Posted

show us your code and we will see.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

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:

I Am HoLsTeN !

Posted
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 
) 

?

Posted
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 ????

I Am HoLsTeN !

Posted

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.

?

Posted

I have a problem

When THE PLAYER DIE IN BASEMODE BETA 3

HE CAN created Vehicle in the map and i cant know who created the Vehicle

like this img

ftu39887.png

and now i want but script to show who is created the Vehicle

now i think it is and clear to know what i mean

I Am HoLsTeN !

Posted

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.

?

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