Raised This Month: $ Target: $400
 0% 

Making my own Phone Mod (TSRP)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
smdobay
Member
Join Date: Feb 2005
Old 04-03-2005 , 01:23  
Reply With Quote #2

Maybe I'm missing something, but where does the transfer from arg2 to target occur in the /call statement?

Quote:
Code:
if (command == "/call") { new arg2[52]; read_argv(2, arg2 <-------    , 51); get_user_name(target <------  ?, targetname, 51);     client_print(target, print_chat, "[Phone Mod] Your Phone is Ringing!")     client_print(target, print_chat, "[Phone Mod] Say ^"/answer^" to answer your phone.")     calling[target] == 1     }
Again, maybe I missed it, but if you're using read_argv into a variable arg2 but fining a user with an unassigned variable, I'd wonder where the magical data assignment occurs.
smdobay is offline
 



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 09:49.


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