Okay, I have just tried the script out
But its not working perfectly ..
Well this is whats happens:
When you race and type "kill" in console, the first time. You will loose -500 dollars.
And then you will have 300 left?
When i typed "kill" in console again, I didnt loose any money or got any money..
I just had the same amount of 300 dollars.
And when I have finished the race, i got 217 in cash, so i lost: 83 dollars
(The startmoney on 800 is back again)
- Hopefully you can fix this
..
Else will i just block "kill" in console
Thank you so much for taking you time on this.
This is my error log:
L 06/21/2010 - 12:29:50: SourceMod error session started
L 06/21/2010 - 12:29:50: Info (map "race_derby_v1") (file "errors_20100621.log")
L 06/21/2010 - 12:29:50: [SM] Native "RemoveEdict" reported: Edict 80 (80) is not a valid edict
L 06/21/2010 - 12:29:50: [SM] Displaying call stack trace for plugin "rallyrace.smx":
L 06/21/2010 - 12:29:50: [SM] [0] Line 932, rallyrace.sp:
isintegrate()
L 06/21/2010 - 12:29:50: [SM] [1] Line 275, rallyrace.sp::Ev_player_death()