Raised This Month: $ Target: $400
 0% 

Number of arg does not match definition


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sandurr
Senior Member
Join Date: Aug 2005
Old 12-10-2005 , 11:44   Number of arg does not match definition
Reply With Quote #1

Code:
entity_set_model(entity,"models/player/%s/%s.mdl",model,model)
ERROR GIVE IN COMPILER:

Code:
X:\HLServer\ts\addons\amxmodx\scripting\code.sma(640) : warning 202:
 number of arguments does not match definition
X:\HLServer\ts\addons\amxmodx\scripting\code.sma(640) : warning 202:
 number of arguments does not match definition
Line 640 is the line given above!

Whats wrong? model is an array of [32]
Sandurr is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 12-10-2005 , 11:48  
Reply With Quote #2

Code:
new mdlstr[64]; format(mdlstr, 63, "%s/%s", model, model); entity_set_model(entity, mdlstr);
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
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 15:57.


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