Raised This Month: $32 Target: $400
 8% 

Predator Mode


Post New Thread Reply   
 
Thread Tools Display Modes
chRm
Senior Member
Join Date: Sep 2005
Location: Cyprus
Old 11-11-2005 , 07:20  
Reply With Quote #11

Nice... Gj man
__________________
This signature is going to self destruct in: <countdown coming soon>




Previously known as Panais
chRm is offline
Send a message via MSN to chRm
commonbullet
Veteran Member
Join Date: Oct 2005
Old 11-11-2005 , 22:00  
Reply With Quote #12

very cool.

I'd suggest you to include this mode:
the predator is chosen ramdomically at first, then who kills the predator becomes the new one.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Charr
Senior Member
Join Date: Jul 2005
Location: Long Island, New York, U
Old 11-11-2005 , 22:15  
Reply With Quote #13

Cool Idea, and code looks fine, except for this part in the Heat section. Nothing is wrong with it, just could be less braces.
Code:
        if (onoroff[id]==1)         {             if (is_user_alive(id))             {                 for (new j = 0; j < pnum; j++)                 {                     idheat = players[j]                     if (idheat != id)                     {                         if (ispredator[idheat]==0)                         {                             if (is_user_alive(idheat))                             {                                 get_user_origin(idheat,origin,0)                                 message_begin(MSG_ONE,SVC_TEMPENTITY,origin,id)                                 write_byte(21)                                 write_coord(origin[0])                                 write_coord(origin[1])                                 write_coord(origin[2])                                 write_coord(origin[0])                                 write_coord(origin[1])                                 write_coord(origin[2]+30)                                 write_short(gTrailModel)                                 write_byte(0)                                 write_byte(1)                                 write_byte(5)                                 write_byte(40)                                 write_byte(1)                                 write_byte(250) // red                                 write_byte(60) // green                                 write_byte(0) // blue                                 write_byte(255) //brightness                                 write_byte(0)                                 message_end()                             }                         }                     }                 }             }         }
Code:
        if (onoroff[id]==1 && is_user_alive(id))         {             for (new j = 0; j < pnum; j++)             {                     idheat = players[j]                     if (idheat != id && ispredator[idheat]==0 && is_user_alive(idheat))                     {                         get_user_origin(idheat,origin,0)                         message_begin(MSG_ONE,SVC_TEMPENTITY,origin,id)                         write_byte(21)                         write_coord(origin[0])                         write_coord(origin[1])                         write_coord(origin[2])                         write_coord(origin[0])                         write_coord(origin[1])                         write_coord(origin[2]+30)                         write_short(gTrailModel)                         write_byte(0)                         write_byte(1)                         write_byte(5)                         write_byte(40)                         write_byte(1)                         write_byte(250) // red                         write_byte(60) // green                         write_byte(0) // blue                         write_byte(255) //brightness                         write_byte(0)                         message_end()                     }                 }             }         }
__________________
Charr is offline
Send a message via AIM to Charr Send a message via MSN to Charr
noob3d
Junior Member
Join Date: Sep 2005
Old 11-12-2005 , 08:52  
Reply With Quote #14

nice plugin

ps: my frend is making something like this but with a predator knife and awp mdl not like your wolverine knife ;P but i like this plugin ;D
noob3d is offline
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-12-2005 , 10:39  
Reply With Quote #15

Quote:
Originally Posted by Charr
Cool Idea, and code looks fine, except for this part in the Heat section. Nothing is wrong with it, just could be less braces.
Code:
        if (onoroff[id]==1)         {             if (is_user_alive(id))             {                 for (new j = 0; j < pnum; j++)                 {                     idheat = players[j]                     if (idheat != id)                     {                         if (ispredator[idheat]==0)                         {                             if (is_user_alive(idheat))                             {                                 get_user_origin(idheat,origin,0)                                 message_begin(MSG_ONE,SVC_TEMPENTITY,origin,id)                                 write_byte(21)                                 write_coord(origin[0])                                 write_coord(origin[1])                                 write_coord(origin[2])                                 write_coord(origin[0])                                 write_coord(origin[1])                                 write_coord(origin[2]+30)                                 write_short(gTrailModel)                                 write_byte(0)                                 write_byte(1)                                 write_byte(5)                                 write_byte(40)                                 write_byte(1)                                 write_byte(250) // red                                 write_byte(60) // green                                 write_byte(0) // blue                                 write_byte(255) //brightness                                 write_byte(0)                                 message_end()                             }                         }                     }                 }             }         }
Code:
        if (onoroff[id]==1 && is_user_alive(id))         {             for (new j = 0; j < pnum; j++)             {                     idheat = players[j]                     if (idheat != id && ispredator[idheat]==0 && is_user_alive(idheat))                     {                         get_user_origin(idheat,origin,0)                         message_begin(MSG_ONE,SVC_TEMPENTITY,origin,id)                         write_byte(21)                         write_coord(origin[0])                         write_coord(origin[1])                         write_coord(origin[2])                         write_coord(origin[0])                         write_coord(origin[1])                         write_coord(origin[2]+30)                         write_short(gTrailModel)                         write_byte(0)                         write_byte(1)                         write_byte(5)                         write_byte(40)                         write_byte(1)                         write_byte(250) // red                         write_byte(60) // green                         write_byte(0) // blue                         write_byte(255) //brightness                         write_byte(0)                         message_end()                     }                 }             }         }

[edit]:
nop u were right.. i was stupid.. thanks... soon new version with ur
code and a credit for you

btw are u just going to look at the code without trying in?
go ahed and try it.. its alot of fun
haimmaik is offline
Bolox 16
Member
Join Date: Mar 2005
Location: Canada,Ontario
Old 11-12-2005 , 21:14   HELP ME
Reply With Quote #16

It Doesent Work It Says


unknown unknown unknown predator.amxx bad load

Ive done the amxx.sma and still doesnt work

Plz Help Add Me To Msn/AIM

[email protected]

bolox1000 is aim
Bolox 16 is offline
Send a message via AIM to Bolox 16 Send a message via MSN to Bolox 16 Send a message via Yahoo to Bolox 16
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-13-2005 , 02:25  
Reply With Quote #17

thats because u need to enable some modules so ur AMXX will be
able to read my plugin (or other plugins)

go to
amxmodx\config\modules.ini

open it with notepad or other text editor...

and take off the ";" from the modules

fun_amxx.dll
engine_amxx.dll
fakemeta_amxx.dll
cstrike_amxx.dll
csx_amxx.dll

in order to activate them... and restart the server.

MAKE SURE ITS NOT:
;fun_amxx.dll
;engine_amxx.dll
;fakemeta_amxx.dll
;cstrike_amxx.dll
;csx_amxx.dll

cuz if it is.. it says that they'r off.
haimmaik is offline
cTn
Senior Member
Join Date: Oct 2005
Old 11-13-2005 , 04:39  
Reply With Quote #18

very nice
__________________
cTn is offline
Send a message via ICQ to cTn Send a message via MSN to cTn
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 11-13-2005 , 09:46  
Reply With Quote #19

What are the commands if any?(too lazy to look in .sma)

TIP: Add commands in first post, and how they work. (if any)


EDIT: Nvm, got bored and looked in .sma

Quote:
//Commands(ADMIN): //
//--------- //
//admin_enable_predator 1/0 Turns on and off the predator mode (default 1) *NOTE, ADMIN COMMANDS ARE STILL ACTIVE* //
//admin_frags_predator [number] Decide how many frags you need to pay to become a predator (default 20) //
//admin_money_predator [number] Decides how much money you need to pay to become a predator (default 16,000) //
//admin_plasma_predator[number] Decides how many plasma shots a predator will get (default 3) //
//admin_frags_plasma [number] Decides how many frags a predator gets for plasma kill (default 1) //
//admin_frags_knife [number] Decides how many frags a predator gets for knife kill (default 2) //
//admin_kill_money [number] Decides how much money a predator gets for each kill (default 300) //
//admin_predator [name][type][plasma] Change a player into a predator, choose type of predator and amount of plasma //
//admin_unpredator [name] Change a predator into a human //
//admin_addplasma [name][number] Adds Plasma shoots to a predator (player have to be a predator) //
//admin_predator_custom [name][type] Changes a player's MODEL into a predator model *NOTE, HE IS NOT A PREDATOR* //
// //
// //
//Commands(CLIENT): //
//-------- //
//ppfire Shoot a plasma ball (i suggest u bind it to mouse3) //
//pcview Change the view mode of the predator (i suggest u bind it to P) //
//dbinds Auto bind the client functions into the default keys //
//
EDIT2: Very nice btw.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-13-2005 , 10:04  
Reply With Quote #20

ok.. i added the commands to the main topic...
and btw.. this list is not updated... it doesnt contain
admin_predatorteam
and
admin_unpredatorteam

download the last version of the SMA... it has more functions and more bugs fixed
haimmaik is offline
Reply


Thread Tools
Display Modes

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 15:27.


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