AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Argument type mismatch (https://forums.alliedmods.net/showthread.php?t=214442)

Podarok 04-27-2013 06:59

Argument type mismatch
 
Code:
set_task(healing_interval, "do_HPS", id+1337, id, _, "b")
Argument type mismatch (argument 4)
What seems to be the problem ?

EpicMonkey 04-27-2013 07:17

Re: Argument type mismatch
 
1337, id?

1337 + id?

Podarok 04-27-2013 07:23

Re: Argument type mismatch
 
I corrected, however it gives me an argument type mismatch

YamiKaitou 04-27-2013 07:32

Re: Argument type mismatch
 
id is not an array

baneado 04-27-2013 07:33

Re: Argument type mismatch
 
http://www.amxmodx.org/funcwiki.php?...task&go=search

jimaway 04-27-2013 08:51

Re: Argument type mismatch
 
Code:
set_task(healing_interval, "do_HPS", id+1337, { id }, 1, "b")
this should work, but there is really no reason to send same info in the parameter field that you already have in the id of the task


All times are GMT -4. The time now is 10:56.

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