Posts: 314
Threads: 46
Joined: Aug 2009
Reputation:
0
Look for OnPlayerDeath
And do GivePlayerMoney to the killerid.
Hope this helped you. otherwise i'll make the code.
This forum requires that you wait 120 seconds between posts. Please try again in 43 seconds.
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
There's 4 scripts for the Dual Room's under OnPlayerDeath
if(DualRoom2 == playerid || DualRoom1 == killerid)
if(DualRoom2 == playerid || DualRoom1 == killerid)
if(DualRoom3 == playerid || DualRoom1 == killerid)
if(DualRoom4 == playerid || DualRoom1 == killerid)
They have all 4 have GivePlayerMoney(killerid, (DualRoom4price*2));
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
Oh damn you mean in GameMode, i try this out Rachael.
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
Maybe the GiveMoney one is more simpel cause i can't get that other one to work
can you tell me how to make the code?
Posts: 439
Threads: 55
Joined: Sep 2010
Reputation:
0
Well okay now when i enter the duel and win it i don't loose the 1000
but.. im still in the duel area.
maybe because i got this message:
C:\Users\Noto\Desktop\Real Server\filterscripts\NTDuel.pwn(192) : warning 217: loose indentation
Posts: 844
Threads: 32
Joined: Apr 2009
Reputation:
0
thats simple, just make/remove some spaces/tabs
or just use #pragma unused tabs