AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   me/n00b need a lil more help i got it workin, but... (https://forums.alliedmods.net/showthread.php?t=10572)

zxzDarkCloudzxz 02-23-2005 14:33

me/n00b need a lil more help i got it workin, but...
 
1 Attachment(s)
hey guys its me again
i converted this c4 plugin almsot 100% it works except when the user goes to defuse teh bomb thats created, it wont detect it as there when i hit use all i hear is the normal use sound and it wont defuse
can someone please help me with this code
i think it has something to do with :


if(c4_num > 0 && (get_cvar_num("fakec4_ctdefuse") == 0 || get_user_team(id) == 2))
{
if(get_user_button(id) & IN_USE)
{
if(defusing[id])
{
set_user_maxspeed(id, -1.0)
return PLUGIN_CONTINUE
}

i have attached the code to the post please if anyone has an idea can u respond? ill love you forever and ever and googaplex

Peli 02-23-2005 20:39

When you post a sample of a plugin in your post... use the [ small ] [ /small ] tags.

philman213 02-23-2005 22:40

1 Attachment(s)
Here...

It should work.


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

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