Raised This Month: $ Target: $400
 0% 

PokeMod v1.2.3 RC for Public (June 25, 2008)


Post New Thread Reply   
 
Thread Tools Display Modes
deadman909
Veteran Member
Join Date: Oct 2008
Old 07-04-2012 , 23:27   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2491

Something nice that could be added. Is if you could set Pokemon to only work for certain people. Like for when your selling customs. Like that you dont have other people that can use them but except for who bought it.
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
liinuus
Senior Member
Join Date: Apr 2010
Old 07-05-2012 , 06:00   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2492

just add an id check when the skill is used, that way those that didnt buy it can have it but not use it
liinuus is offline
Aooka
Veteran Member
Join Date: Aug 2011
Location: Villeurbanne
Old 07-05-2012 , 13:03   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2493

Interesting code. I never see that. Good Job
__________________
Pawn ? Useless
Aooka is offline
liinuus
Senior Member
Join Date: Apr 2010
Old 07-05-2012 , 18:59   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2494

just wanted to ask, has anyone tested it yet?
liinuus is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 07-06-2012 , 06:02   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2495

Work (I think)

Last edited by quilhos; 07-06-2012 at 06:04.
quilhos is offline
radim
Member
Join Date: Jul 2011
Old 07-07-2012 , 12:04   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2496

Liinuss can you give example how to use 4 new natives ?
Code:
new szSkillDes[  NAME_LENGTH ];
new szSkillCall[  NAME_LENGTH ];
new szSkillCool[  NAME_LENGTH ];

get_Skill_CoolDown( szSkillCool, NAME_LENGTH-1 )
get_Skill_Description( szSkillDes, NAME_LENGTH-1 )
get_Skill_CallFlags( szSkillCall, NAME_LENGTH-1 )

client_print( id, print_chat, "Description of your skill is %s", szSkillDes )
client_print( id, print_chat, "Cooldown of your skill is %d", szSkillCool )
client_print( id, print_chat, "CallFlags of your skill is %s", szSkillCall )
But it doesn't work.
__________________
radim is offline
liinuus
Senior Member
Join Date: Apr 2010
Old 07-07-2012 , 12:09   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2497

the szskillcool is returned as an string aswell, so you need to use str_to_num
liinuus is offline
radim
Member
Join Date: Jul 2011
Old 07-07-2012 , 12:23   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2498

ok, but what about with description and callflags ?
__________________
radim is offline
radim
Member
Join Date: Jul 2011
Old 07-07-2012 , 12:32   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2499

Code:
public CmdTest( id )
{
	new szSkillDes[  NAME_LENGTH ];
	new szSkillCall[  NAME_LENGTH ];
	new szSkillCool[  NAME_LENGTH ];
	get_Skill_CoolDown( szSkillCool, NAME_LENGTH-1 )
	get_Skill_Description( szSkillDes, NAME_LENGTH-1 )
	get_Skill_CallFlags( szSkillCall, NAME_LENGTH-1 )
	
	new skillcool = str_to_num(szSkillCool);
	
	client_print( id, print_chat, "Description of your skill is %s", szSkillDes )
	client_print( id, print_chat, "Cooldown of your skill is %d", skillcool )
	client_print( id, print_chat, "CallFlags of your skill is %s", szSkillCall )
}
Everything doesn't work
__________________

Last edited by radim; 07-07-2012 at 12:32.
radim is offline
liinuus
Senior Member
Join Date: Apr 2010
Old 07-07-2012 , 17:40   Re: PokeMod v1.2.3 RC for Public (June 25, 2008)
Reply With Quote #2500

ahh, found the error, heres an new version

Last edited by liinuus; 07-08-2012 at 07:04.
liinuus is offline
Reply



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 04:57.


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