AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   help me plz (https://forums.alliedmods.net/showthread.php?t=50395)

jwooram77 01-25-2007 10:36

help me plz
 
L 01/24/2007 - 13:04:01: Invalid player id 0
L 01/24/2007 - 13:04:01: [AMXX] Run time error 10 (plugin "runemod_ninja.amxx") (native "set_user_info") - debug not enabled!
L 01/24/2007 - 13:04:01: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes)





http://reasonlmh2.mireene.com/runemod_ninjaspider.sma

dutchmeat 01-25-2007 10:39

Re: help me plz
 
change:

Code:

public Event_DeathMsg(id)
{
 set_user_info(id,"model",oldmodel[id])
 return PLUGIN_CONTINUE
}

to:
Code:
public Event_DeathMsg() //we don't need an argument { new id = get_msg_arg_int(2) //I guess you want the Victim set_user_info(id,"model",oldmodel[id]) return PLUGIN_CONTINUE }

Brad 01-25-2007 10:50

Re: help me plz
 
Did you not read my whole response last time?

Quote:

Originally Posted by AlliedModders Global Rules (Post 423769)
These rules apply to all individual boards unless otherwise noted. Inability to adhere to these rules may result in a temporary or permanent ban, individual posting rights removed, and/or your thread being Trashed.

Posting
  • Use descriptive topic titles. People should know at a glance of the title what the thread is about.



All times are GMT -4. The time now is 22:23.

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