AlliedModders

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

GalactimO 10-19-2004 21:13

Superjump Help me plz
 
HI everyone im new to this neck of th woods and i just want some help on this plugin (plz dont flame me lol this is very first attempt at amx/amxx plugin) heres wut i got soo far

Code:
#include <amxmodx> #include <amxmisc> #include <fun> #include <xtrafun> public plugin_init(){     register_plugin("Superjump","1.0","GalactimO")     register_concmd("superjump","cmdjump")     return PLUGIN_CONTINUE } public cmdjump(id, level, cid) {        if (!cmd_access(id,level,cid,2))        return PLUGIN_HANDLED    stock set_user_velocity(index, velocity[3]) {     set_entity_velocity(index, velocity)    return PLUGIN_HANDLED }
what i want is when player types cmd superjump i want him to jump really high in the air, if you could help that would be great and i know this is probably alllll wrong and i also want it so when player tpyes /jump it says <server> To use super jump bind key "superjump"
<server> eg bind f "superjump"

but i dont know how to go about doing this plz help me im reading some tuts right now but i still dont get it :oops:


All times are GMT -4. The time now is 17:20.

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