03-16-2012, 20:48
03-19-2012, 09:24
@topicstarter
I'm using parts of your code in my rolldice on respawn script, but seem to have trouble unsetting the grenadedeath perk
seting the dvar to "" just doesnt cut it, or shoult it be set to "none" ?
example:
I'm using parts of your code in my rolldice on respawn script, but seem to have trouble unsetting the grenadedeath perk
seting the dvar to "" just doesnt cut it, or shoult it be set to "none" ?
example:
CSHARP Code
- {
- SetDvar("perk_grenadedeath", "remote_tank_projectile_mp");
- TellClient(Client.ClientNum, "[^1SURPRISE!^7] ^2BFG Deathstreak!^7 !! ^1You Luck0r^7!", true);
- }
- else
- {
- SetDvar("perk_grenadedeath", "");
- TellClient(Client.ClientNum, "[^1BUMMER!^7] ^1:-(^7 No ^2SURPRISE^7 on this spawn ^1:-(^7 !", true);
- }
03-19-2012, 16:16
(03-19-2012, 09:24)pieter Wrote: [ -> ]seting the dvar to "" just doesnt cut it, or shoult it be set to "none" ?
Yes you have to revert it back to original bytes
{ 0x0F, 0x84, 0xD5, 0x00, 0x00, 0x00 }
03-19-2012, 16:53
THANKS!!!