Raised This Month: $ Target: $400
 0% 

I'll reference your memory in a minute!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BAILOPAN
Join Date: Jan 2004
Old 06-09-2004 , 04:27  
Reply With Quote #2

1: The compiler shouldn't crash, looks like a bug :] (00000008 is invalid memory).

You can't do things like this:
Code:
textid("[WarBot] Changed your name to " + name + " [L]",id)

String addition doesn't work because they are character arrays. It must be this:
Code:
new temp[128] format(temp, 128, "[Warbot] Changed your name to %s [L]", name) textid(temp, id)

Also, unless you reference your helper functions in other places like this:
set_task(... "textid"...) or register_event(..."textid") etc
They shouldn't be public.
__________________
egg
BAILOPAN 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 14:41.


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