Raised This Month: $ Target: $400
 0% 

Solved Math and and hook "say"


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 07-04-2020 , 03:00   Re: Math and get integer from clcmd "say"
Reply With Quote #1

Hook say(with register_clcmd), read the arguments(the chat message) and process it to get the sum.
__________________
HamletEagle is offline
chickez
Junior Member
Join Date: Jun 2020
Location: Slovakia
Old 07-05-2020 , 03:58   Re: Math and get integer from clcmd "say"
Reply With Quote #2

I changed code a little.

Spoiler


This doesn't work. Error:
Code:
Error: Argument type mismatch (argument 2) on line 29
Warning: Symbol is assigned a value that is never used: "sum" on line 33
What's wrong? Why it doesn't get the sum?
chickez 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 17:12.


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