Raised This Month: $ Target: $400
 0% 

Permanent Superjump?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Spunky
Senior Member
Join Date: May 2008
Location: Orlando, Fl.
Old 03-18-2009 , 21:09   Permanent Superjump?
Reply With Quote #1

Using TSFUN:
Code:
#include <amxmodx> #include <hamsandwich> #include <tsfun> new g_iSuperJump[32] public plugin_init() {     register_plugin("Permanent Superjump", "1.0", "Spunky")     RegisterHam(Ham_Spawn, "player", "fnSpawn", 0) } public fnSpawn(id) {     new const iIndex = id - 1     g_iSuperJump[iIndex] = ts_createpwup(TSPWUP_SUPERJUMP)     ts_givepwup(id, g_iSuperJump[iIndex])     return HAM_HANDLED }

With this, whenever someone joins, before they even get in the game, I get a runtime error and my server crashes. The error says that the player isn't in game yet.
Spunky is offline
Send a message via AIM to Spunky
 



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 08:58.


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