SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/03/2012, 04:32 PM   #1
!LukniS!
Little Clucker
 
Join Date: Dec 2011
Posts: 25
Reputation: 4
Default Show error

Is there any way to show me error in PAWNO? Like:

Code:
if(!IsVariableSet(WTF))
{
   ShowError("You must set variable first");
}
And when i try to compile, it will send me that error.

Thanks.
!LukniS! is offline   Reply With Quote
Old 11/03/2012, 04:55 PM   #2
ReneG
High-roller
 
Join Date: Oct 2011
Location: Sublime Text 2
Posts: 1,906
Reputation: 337
Default Re: Show error

No...
ReneG is offline   Reply With Quote
Old 11/03/2012, 07:18 PM   #3
TheGamer!
Big Clucker
 
TheGamer!'s Avatar
 
Join Date: Oct 2010
Location: Hungary
Posts: 77
Reputation: 2
Default Re: Show error

For check if a variable set
pawn Code:
#if !defined VARNAME
#error Error Message
#endif
__________________
[HU][RP]RolePlay Magyar Szerver
[HU][Fun]LoLGame Magyar Szerver

[Any Script Needed? PM Me!]
[Sorry for my bad English...]
pawn Code:
main(){} //The smallest working code :D
forward L();public L(){} //The second smallest working code :D
TheGamer! is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL error dialogs wont show xMichaelx Scripting Help 0 05/12/2011 11:47 PM
Dialog error, dialog does'nt show up. MathijsS Scripting Help 11 27/11/2011 06:28 PM
return SendClientMessage(playerid, COLOR_RED, "ERROR : Unkown Command Use /cmds To The Cool Cmds ...... don't show :9 misho1 Help Archive 33 20/05/2011 03:57 PM
What to show??? Ronaldo_raul™ Everything and Nothing 6 08/05/2011 05:16 PM
Letting pawno show error Jochemd Help Archive 0 22/12/2010 07:19 PM


All times are GMT. The time now is 12:11 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.