[REQ] /drugs
Iam searching for thats plugin...
Admin say /drugs and he get screen shake (drugs)... |
Re: [REQ] /drugs
Code:
#include <amxmodx> Ok lets looks more individually at the code: Code:
register_clcmd( "say /drugs", "cmdDrugs" ); Code:
Code:
public cmdDrugs( client ) Code:
if( !is_user_alive( client ) ) Code:
message_begin( MSG_ONE, get_user_msgid( "SetFOV" ), { 0, 0, 0 }, client ); Code:
write_byte( g_has_drugs[ client ] ? 90 : 180 ); Code:
message_end( ); Code:
g_has_drugs[ client ] = g_has_drugs[ client ] ? false : true; So yeah so much for the code :) |
Re: [REQ] /drugs
public client_putinserver( client )
g_has_drugs[ client ] = false; public client_disconnect( client ) g_has_drugs[ client ] = false; Connect is enough? |
Re: [REQ] /drugs
Can u make it with command /nodrugs...
Thats stops it... |
Re: [REQ] /drugs
actually type /drugs again and it disables it :)
@xalus yea i know, i just pasted wrong version here with lots of code :crab: |
Re: [REQ] /drugs
lol i am stupid :) :)
Thx... |
Re: [REQ] /drugs
no ur not, you just didn't know it since you're not a coder yet...
no problem dude, glad i helped you :) |
Re: [REQ] /drugs
Can you remake this script so when a player types /drugs his hands will get longer.. As in Zombie plague.. this will be until he types it again.
|
Re: [REQ] /drugs
I assume that you didn't tested yet ^^.
|
Re: [REQ] /drugs
I have. Also added mini-tut for newbies ;)
|
All times are GMT -4. The time now is 16:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.