Raised This Month: $ Target: $400
 0% 

Chicken fight pluigin or mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lexzor
Veteran Member
Join Date: Nov 2020
Old 06-05-2022 , 18:24   Re: Chicken fight pluigin or mod
Reply With Quote #4

first of all, put your code between [ php ] and [ /php ] without space to show your code like this.

PHP Code:

#include <amxmodx>
#include <hamsandwich>

public plugin_init()
{
    
RegisterHam(Ham_Spawn"player""fwHamPlayerSpawnPost"1)
}

public 
fwHamPlayerSpawnPost(id)
{
    
set_task(0.1"make_chicken"id 12345);
}

public 
make_chicken(id)
{
    
server_cmd("c_chicken %i"id 12345);
    
server_exec();

lexzor is offline
 



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 21:20.


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