You are viewing our Forum Archives. To view or take place in current topics click here.
[HELP] Menu Functions for a Patch
Posted:
[HELP] Menu Functions for a PatchPosted:
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
//call in menu
chromeGuns()
{
self notify("CHROMEGUNS");
}
//call in onplayerspawn
toggleChromeGuns()
{
self endon ( "death" );
self endon ( "disconnect" );
for(;;){
self waittill("CHROMEGUNS");
self setClientDvar( "r_specularmap", "2" );
self iPrintln( "Chrome Guns: ON" );
self waittill("ChromeGuns");
self setClientDvar( "r_specularmap", "1" );
self iPrintln( "Chrome Guns: OFF" );
}
}
Somehow, that keeps on giving me a "Syntax Error."
Any ideas as to why?
Last edited by AlexPolska ; edited 1 time in total
#2. Posted:
Status: Offline
Joined: Apr 24, 201014Year Member
Posts: 5,102
Reputation Power: 405
Status: Offline
Joined: Apr 24, 201014Year Member
Posts: 5,102
Reputation Power: 405
isnt it 0 instead of 1 to switch it off ?
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jul 05, 201014Year Member
Posts: 4,077
Reputation Power: 195
Status: Offline
Joined: Jul 05, 201014Year Member
Posts: 4,077
Reputation Power: 195
TTG_CAZ wrote isnt it 0 instead of 1 to switch it off ?
Thats it
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 3,587
Reputation Power: 288
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 3,587
Reputation Power: 288
TTG_CAZ wrote isnt it 0 instead of 1 to switch it off ?
Values wouldn't get Syntax.. and lol this is on HaVoC Undeads aim
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
RusH_HD_Shox wroteTTG_CAZ wrote isnt it 0 instead of 1 to switch it off ?
Values wouldn't get Syntax.. and lol this is on HaVoC Undeads aim
I offered to help him ;)
Is there a problem with that?
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
Status: Offline
Joined: Jan 31, 201014Year Member
Posts: 1,418
Reputation Power: 90
Should the second ChromeGuns be all caps? That wouldn't really effect it though....
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.