Raised This Month: $ Target: $400
 0% 

Impulse 114


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
DTE
Junior Member
Join Date: Nov 2006
Old 06-29-2007 , 07:25   Impulse 114
Reply With Quote #1

I'm trying to make a player egg to a gorge with the help of impulse 114
It executes the function but for some reason the client_cmd won't work
I dug in the gorgzilla code and found everything I need, but I guess I missed something

public Gorge_me(id)
{
client_print(id, print_chat, "Gorge") //This works

ns_set_exp(id,500000.0) //This works
client_cmd(id,"impulse 114") //Is the impulse for the gorge, doesn't work
}

client_cmd - Executes command on a player

What am I doing wrong?
DTE is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 06-29-2007 , 07:29   Re: Impulse 114
Reply With Quote #2

I think you have to set sv_cheats to 1 using server_cmd.
Code:
server_cmd("sv_cheats 1");
mateo10 is offline
DTE
Junior Member
Join Date: Nov 2006
Old 06-29-2007 , 09:38   Re: Impulse 114
Reply With Quote #3

I always test scripts with sv_cheats 1 on, so that can't be the problem

it's also not in the gorgzilla script so

Last edited by DTE; 06-29-2007 at 09:40.
DTE is offline
toazron1
Senior Member
Join Date: Oct 2006
Old 06-30-2007 , 00:16   Re: Impulse 114
Reply With Quote #4

try
Code:
engclient_cmd(id,"impulse 114")
__________________
toazron1 is offline
Send a message via AIM to toazron1
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode