Raised This Month: $ Target: $400
 0% 

error: Expected token: ";", but found ")"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
stigma
Senior Member
Join Date: Mar 2005
Location: Denmark
Old 04-05-2005 , 11:45   error: Expected token: ";", but found ")"
Reply With Quote #1

Why do i get theese errors when i compile?:

( 48 ) error: invalid expression, assumed zero
( 48 ) error: expected token ";", but found ")"
( 48 ) error: invalid expression, assumed zero

Code:
public healSm(id) {                         // Line 46                                          // Line 47     if (uMoney > 2000) {       // Line 48             if (uHealth < 50) {             set_user_health(id,uHealth)+30             client_print(id,print_chat,"[Medic] You bought a small medickit! + 30HP")                 }             }     if(uMoney < 2000) {                 client_print(id,print_chat,"[Medic] You don't have enough money")             }     if(uHealth > 50) {         client_print(id,print_chat,"[Medic] You'r health has to be below 50")             }     return PLUGIN_HANDLED     }
stigma is offline
Send a message via MSN to stigma Send a message via Skype™ to stigma
 



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 10:02.


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