Raised This Month: $ Target: $400
 0% 

add(..) ???????


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-24-2005 , 21:02   add(..) ???????
Reply With Quote #1

I don't see why this causes a tag mismatch on storedweaponnameA

new storedweaponnameA[64]
add(menu, sizeof(menu), "^n1. %s",storedweaponnameA)
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 02-24-2005 , 21:56  
Reply With Quote #2

The add() function does not allow formatting like the format() function has (ie: %s, %i, %f, %d).
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-25-2005 , 11:58  
Reply With Quote #3

So use format, instead of add.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
TotalNoobScripter
Senior Member
Join Date: Aug 2004
Old 02-25-2005 , 20:05  
Reply With Quote #4

allrighty, ugg.
TotalNoobScripter is offline
Send a message via AIM to TotalNoobScripter
Reply


Thread Tools
Display Modes

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:11.


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