Raised This Month: $ Target: $400
 0% 

Dumb syntax error


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 11-04-2015 , 06:12   Dumb syntax error
Reply With Quote #1

#define TASK_COUNTUP 12345;

#define TADK_COUNTUP 12345

PHP Code:
public EvSpawn(id)
{
gTimerS[id] = 0;

if(
task_exists(TASK_COUNTUP id)) // line 50, TASK_COUNTUP defined as 12345;
{
remove_task(TASK_COUNTUP id);
}

if(
get_user_team(id) == 2)
{
Start(id);
}


Error:
Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team

entity_solid.sma(50) : error 001: expected token: ",", but found ";"
entity_solid.sma(50) : error 036: empty statement
entity_solid.sma(50) : error 029: invalid expression, assumed zero
entity_solid.sma(50) : fatal error 107: too many error messages on one line

Compilation aborted.
4 Errors.

Last edited by redivcram; 11-05-2015 at 04:51.
redivcram is offline
 



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 18:07.


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