AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Noobie Help #2 (https://forums.alliedmods.net/showthread.php?t=17181)

[KTA] KeItO 08-26-2005 23:35

Noobie Help #2
 
okay here is waht I got so far

Code:
#include_amxmodx public plugin_init() (     register_plugin("Amx-SuperSlap","0.1","[KTA] KeItO")     register_concmd ("amx_superslap", "user_slap", ADMIN_SLAY, "SuperSlaps the specified user") ) public do user_slap(id, 0,) ( if (!(get_user_flags(id)&ADMIN_SLAY)) (     console_print(id "AMX No Access Faggot"         return PLUGIN_HANDLED     ) if (read_argc() == 0) {         console_print(id,"Pick a user dingle dick!")         return PLUGIN_HANDLED     )     new user[32], uid     read_argv(1,user,32)     uid = find_player("bh",user)     if (uid == 0) {         console_print(id,"Are you dum or somthin?? Spell it right homo!")         return PLUGIN_HANDLED     }     }


I want to know if there are any errors and how to define the ammount of times the user is slapped with how long interveles.

LoL im really new to this type of coding. Im better at websites. Kinda simmalar.


All times are GMT -4. The time now is 14:24.

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