Raised This Month: $51 Target: $400
 12% 

[orpheu] Set airaccelerate


Post New Thread Reply   
 
Thread Tools Display Modes
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-02-2012 , 07:22   Re: [orpheu] Set airaccelerate
Reply With Quote #61

public myaa( const player )
{
client_print( player, print_chat, "Your airaccelerate now is: %d", PlayerCustomAAValue[ player ] );
}
__________________
Arkshine is offline
nikolov
Senior Member
Join Date: Feb 2011
Old 08-02-2012 , 08:08   Re: [orpheu] Set airaccelerate
Reply With Quote #62

Quote:
Originally Posted by Arkshine View Post
public myaa( const player )
{
client_print( player, print_chat, "Your airaccelerate now is: %d", PlayerCustomAAValue[ player ] );
}
When I type /setaa100 and then /myaa "public myaa" prints this:
for 100aa
Your airaccelerate now is: 1120403456

for 10aa
Your airaccelerate now is: 1092616192

or when I join in server and type /myaa prints this:
Your airaccelerate now is: 0
nikolov is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-02-2012 , 08:30   Re: [orpheu] Set airaccelerate
Reply With Quote #63

Because it's a float value, so change %d by %f.
__________________
Arkshine is offline
nikolov
Senior Member
Join Date: Feb 2011
Old 08-03-2012 , 12:06   Re: [orpheu] Set airaccelerate
Reply With Quote #64

Thanks, but how can I make only this part in another separate [single] plugin
I want in another plugin only /myaa

PHP Code:
public myaa( const player )
{
     
client_printplayerprint_chat"Your airaccelerate now is: %f"PlayerCustomAAValueplayer ] );

I try but...> " Error: Undefined symbol "PlayerCustomAAValue" on line 18 "
and i dont know what to add to define this symbol and to make this to work perfect (show real current airaccelerate to player)

sry for my bad english..
nikolov is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-03-2012 , 12:19   Re: [orpheu] Set airaccelerate
Reply With Quote #65

You can't unless you make a native, but just for that, kind of ridiculous. I don't see the point to create another plugin.
__________________
Arkshine is offline
nikolov
Senior Member
Join Date: Feb 2011
Old 08-03-2012 , 12:31   Re: [orpheu] Set airaccelerate
Reply With Quote #66

ok, thanks

Last edited by nikolov; 08-16-2012 at 06:31.
nikolov 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 02:43.


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