Raised This Month: $ Target: $400
 0% 

Fake Natives (Solved)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 03-06-2006 , 03:39   Fake Natives (Solved)
Reply With Quote #1

How come, when you register a fake native, it doesn't pass a string through correctly?


Inc. - Registered INC file
Code:
native remorp_server_changelocks(id,targetname[]);

BuyMod - Plugin sending the command
The string is formatted correctly, so I know it is not the formatting.
Code:
remorp_server_changelocks(id,targetname)

KeyMod -
Code:
public plugin_natives() {     register_library ( "RemoRPKeyMod" )     register_native("remorp_server_changelocks","server_changelocks",1) } public server_changelocks(id,targetname[]) {     client_print(0,print_chat,"%s",targetname)     new targetname = param_convert(2)     client_print(0,print_chat,"%i",targetname)

The problem is

The first print chat on the changelocks command prints:
;
Then the second one prints
1

How can I fix this, if possible? Thanks.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
 


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 20:27.


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