villr Posted September 8, 2010 Author Posted September 8, 2010 What are you trying to say to me or what do you mean? And so you know the new code dont work Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
dzek (varez) Posted September 8, 2010 Posted September 8, 2010 CLICK ME * CLICK ME * CLICK ME I cannot transfer this knowledge into your brain. READ IT. At least once. I'm begging you.. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
villr Posted September 8, 2010 Author Posted September 8, 2010 Yea now i have read it 2 times U want me to do what? Check if it any wrong or what? Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
dzek (varez) Posted September 8, 2010 Posted September 8, 2010 You red it, and still don't know what to do? So you didnt read it, or didnt do it carefully. ... (i just removed part of my post, becouse i realized something) I've already gave you example of debugging, and you didnt say a word about it. here: viewtopic.php?f=91&t=28956&start=15#p319855 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
villr Posted September 10, 2010 Author Posted September 10, 2010 ohh u mean debugline that put out when player die? I will check if it come any in window about it and if not are coming is it not working or what? I will try and se in my "private"server Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
villr Posted September 10, 2010 Author Posted September 10, 2010 yea code is coming and i tryed on an "online"server witch people can enter and when a player die that message come "player have died"And no error messages but it show up for all still beacuse i have not edit the script, only now tested it Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
dzek (varez) Posted September 10, 2010 Posted September 10, 2010 well, its not my message.. tell me EXACTLY letter-by-letter, what is it saying. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
villr Posted September 10, 2010 Author Posted September 10, 2010 but omg i will check im not writed full onlly a few thing I will check it later Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
dzek (varez) Posted September 10, 2010 Posted September 10, 2010 you ommited most important thing in this message -.- i can do "omg", not you ^^ Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
villr Posted September 11, 2010 Author Posted September 11, 2010 We have a working code now BUT when a player die it dont show up again but it dont show upp for all Here is the code addEventHandler( "onClientPedWasted", getLocalPlayer( ), function( ) if source == getLocalPlayer( ) then -- Wojak forgot about "then" here local name = getPlayerName(source) outputDebugString("player that died: "..name..", local player: "..getPlayerName(getLocalPlayer())) guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end end ) What is wrong now? Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
dzek (varez) Posted September 11, 2010 Posted September 11, 2010 any messages in debug window? try to add more debug: if source == getLocalPlayer( ) then -- Wojak forgot about "then" here outputDebugString("ped died") local name = getPlayerName(source) -- rest of code Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
villr Posted September 11, 2010 Author Posted September 11, 2010 havent check Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
villr Posted September 26, 2010 Author Posted September 26, 2010 no i dont get anything Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
12p Posted September 27, 2010 Posted September 27, 2010 Maybe you forgot set this script as client-side... Did you?
villr Posted September 30, 2010 Author Posted September 30, 2010 Maybe you forgot set this script as client-side... Did you? Nope it is client side Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
villr Posted September 30, 2010 Author Posted September 30, 2010 Right now code is addEventHandler( "onClientPlayerWasted", getLocalPlayer( ), function( ) if source == getLocalPlayer( ) then -- Wojak forgot about "then" here local name = getPlayerName(source) outputDebugString("ped died") outputDebugString("player that died: "..name..", local player: "..getPlayerName(getLocalPlayer())) guiSetVisible (spawnmenugrid, true ) guiSetVisible(spawnmenumemo,true) showCursor ( true ) showPlayerHudComponent("radar",false) showChat(false) end end ) Happy Owner/Leader of SELS:RPG | Cops and Gangsters | TRUE CRIME CITY with a lot of JOBS! Scripted since summer 2010
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