Raised This Month: $ Target: $400
 0% 

Telemenu Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
scottyk87
Junior Member
Join Date: Jun 2004
Old 12-31-2004 , 02:47   Telemenu Question
Reply With Quote #1

I am trying to make it so that it is possible for admins to teleport other admins even though they have immunity. I looked through the sma and found this part.

Code:
 if ( blockMenu ||  !is_user_alive(i) || (get_user_flags(i)&ADMIN_IMMUNITY) ) {
I dont know that much about codding but I changed it to this
Code:
 if ( blockMenu ||  !is_user_alive(i) || ) ) {
When I compiled it I got error 029 invaild expressions assumed zero
Not really sure what this means or if it dosen't matter. If anyone could help I would greatly appreciate it. Thanks
scottyk87 is offline
Send a message via MSN to scottyk87
f1del1ty.oXi
Veteran Member
Join Date: Nov 2004
Old 12-31-2004 , 02:53  
Reply With Quote #2

remove the extra ) if I'm not mistaken, maybe make it look like this:

Code:
 if ( blockMenu ||  !is_user_alive(i) ) {
I don't think you need the || because you don't have another variabe, or whatnot. And you had the extra ) in there. Course, I'm terrible, and don't even know why I'm posting this.
f1del1ty.oXi is offline
scottyk87
Junior Member
Join Date: Jun 2004
Old 12-31-2004 , 03:23  
Reply With Quote #3

Same compile error. Haven't tested it on the server yet to see if it works.
scottyk87 is offline
Send a message via MSN to scottyk87
scottyk87
Junior Member
Join Date: Jun 2004
Old 12-31-2004 , 20:24  
Reply With Quote #4

Any help on this?
scottyk87 is offline
Send a message via MSN to scottyk87
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 12-31-2004 , 22:39  
Reply With Quote #5

Works fine for me.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
scottyk87
Junior Member
Join Date: Jun 2004
Old 01-01-2005 , 00:27  
Reply With Quote #6

Thank you.
scottyk87 is offline
Send a message via MSN to scottyk87
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 19:25.


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