HoLsTeN Posted November 6, 2010 Share Posted November 6, 2010 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 Link to comment
Castillo Posted November 6, 2010 Share Posted November 6, 2010 woot, i don't get what do you mean, seriusly. Link to comment
HoLsTeN Posted November 6, 2010 Author Share Posted November 6, 2010 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 Link to comment
Castillo Posted November 6, 2010 Share Posted November 6, 2010 omg i still not understanding!!! wait for someone else. Link to comment
Aibo Posted November 6, 2010 Share Posted November 6, 2010 can't you just disable the /car command? and if it's used somewhere else (never seen basemode), then add some checks there. Link to comment
HoLsTeN Posted November 6, 2010 Author Share Posted November 6, 2010 I mean, when any one crate car Will appear in the chat box who crate the car sorry for my bad english Link to comment
Castillo Posted November 6, 2010 Share Posted November 6, 2010 show us your code and we will see. Link to comment
HoLsTeN Posted November 6, 2010 Author Share Posted November 6, 2010 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 Link to comment
Aibo Posted November 6, 2010 Share Posted November 6, 2010 back this is my codefunction 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 addCommandHandler("car", function (player, command, id) outputChatBox("Player "..getPlayerName(player).." created a vehicle ("..id..")", getRootElement(), 255, 255, 0) end ) Link to comment
HoLsTeN Posted November 6, 2010 Author Share Posted November 6, 2010 back this is my codefunction 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 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
HoLsTeN Posted November 6, 2010 Author Share Posted November 6, 2010 IT IS not work plz help help Link to comment
Aibo Posted November 6, 2010 Share Posted November 6, 2010 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
Deltanic Posted November 6, 2010 Share Posted November 6, 2010 AZOZE, I recommend you to use Babelfish or something to translate your text. That's not perfect, but that's still better to read than you are writing now. Sandwich I my eat! Hmm? Link to comment
HoLsTeN Posted November 7, 2010 Author Share Posted November 7, 2010 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 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 Link to comment
Aibo Posted November 7, 2010 Share Posted November 7, 2010 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
HoLsTeN Posted November 7, 2010 Author Share Posted November 7, 2010 i make like what you say but it is not work Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now