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

Argument type mismatch, short code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sinisuba
Member
Join Date: Oct 2014
Location: Bosnia & Herzegovina
Old 07-24-2016 , 14:55   Argument type mismatch, short code
Reply With Quote #1

Supposed to execute amx_freeze @tt 1 after 30s.
Error while compiling (that line): Argument type mismatch (argument 2)

Code:
set_task(30.0, server_cmd("amx_freeze @tt 1"))
sinisuba is offline
ironskillz1
AlliedModders Donor
Join Date: Jul 2012
Location: Sweden
Old 07-24-2016 , 14:58   Re: Argument type mismatch, short code
Reply With Quote #2

Code:
set_task(30.0, "freeze")

public freeze()
      server_cmd("amx_freeze @tt 1")

edit: wrong subforum btw.
__________________
I have many private and unique plugins for Jailbreak and Hide'N'Seek. PM me for more info.

Pm me.

Check out my roulette site.

Last edited by ironskillz1; 07-24-2016 at 14:59.
ironskillz1 is offline
Send a message via Skype™ to ironskillz1
sinisuba
Member
Join Date: Oct 2014
Location: Bosnia & Herzegovina
Old 07-24-2016 , 15:03   Re: Argument type mismatch, short code
Reply With Quote #3

Quote:
Originally Posted by ironskillz1 View Post
Code:
set_task(30.0, "freeze")

public freeze()
      server_cmd("amx_freeze @tt 1")

edit: wrong subforum btw.
ty, yeah just noticed that I posted in sourcemod.
sinisuba 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:42.


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