SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 22/09/2012, 04:25 PM   #1
HyDrAtIc
High-roller
 
Join Date: Jan 2012
Posts: 1,189
Reputation: 233
Default 4 Errors on 1 line

Ey guys


I'm sorry because i keep asking for fixing errors but i just made a TDM script by my self and I'm having those errors

Code:
C:\Users\Mohamed\Desktop\PVT.pwn(164) : warning 217: loose indentation
C:\Users\Mohamed\Desktop\PVT.pwn(167) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Mohamed\Desktop\PVT.pwn(167) : warning 215: expression has no effect
C:\Users\Mohamed\Desktop\PVT.pwn(167) : error 001: expected token: ";", but found "-string-"
C:\Users\Mohamed\Desktop\PVT.pwn(167) : warning 215: expression has no effect
C:\Users\Mohamed\Desktop\PVT.pwn(167) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Mohamed\Desktop\PVT.pwn(167) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
On this line

pawn Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login","COLOR_WHITE"Type your password below to login.","Login","Quit");



May anybody paste a working one without errors?

-Thanks!
__________________
Back to service, unbanned.
HyDrAtIc is offline   Reply With Quote
Old 22/09/2012, 04:28 PM   #2
vannesenn
Gangsta
 
vannesenn's Avatar
 
Join Date: Feb 2011
Posts: 607
Reputation: 15
Default Re: 4 Errors on 1 line

Give up that line and below the line
vannesenn is offline   Reply With Quote
Old 22/09/2012, 04:31 PM   #3
Faisal_khan
High-roller
 
Faisal_khan's Avatar
 
Join Date: Feb 2012
Location: Ireland and India
Posts: 1,826
Reputation: 208
Default Re: 4 Errors on 1 line

Missed one "
pawn Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
__________________
Not a SAMP Dev. anymore.
Faisal_khan is offline   Reply With Quote
Old 22/09/2012, 04:34 PM   #4
mamorunl
High-roller
 
mamorunl's Avatar
 
Join Date: Feb 2007
Location: Groningen/Netherlands
Posts: 1,938
Reputation: 2246
Default Re: 4 Errors on 1 line

The trick with errors like that is that if you post them on the forum and rewatch the code, you will see the mess in one glance because of the highlighter
mamorunl is offline   Reply With Quote
Old 22/09/2012, 04:35 PM   #5
Faisal_khan
High-roller
 
Faisal_khan's Avatar
 
Join Date: Feb 2012
Location: Ireland and India
Posts: 1,826
Reputation: 208
Default Re: 4 Errors on 1 line

Quote:
Originally Posted by mamorunl View Post
The trick with errors like that is that if you post them on the forum and rewatch the code, you will see the mess in one glance because of the highlighter
Absolutely right!
__________________
Not a SAMP Dev. anymore.
Faisal_khan is offline   Reply With Quote
Old 22/09/2012, 04:42 PM   #6
xSkullx
Huge Clucker
 
Join Date: Jun 2012
Location: Romania.
Posts: 284
Reputation: 13
Default Re: 4 Errors on 1 line

You missed 2 " and 3 ,
pawn Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
__________________
My Works:

Code:
[FilterScript]rBug & Suggestion System [rBS]: http://forum.sa-mp.com/showthread.php?t=367644
[FilterScript]Connect Rules: http://forum.sa-mp.com/showthread.php?t=367323
[FilterScript]rColor Menu: http://forum.sa-mp.com/showthread.ph...53#post2048453
[Map]Drag Racing: http://forum.sa-mp.com/showthread.php?t=380626
xSkullx is offline   Reply With Quote
Old 22/09/2012, 04:46 PM   #7
HyDrAtIc
High-roller
 
Join Date: Jan 2012
Posts: 1,189
Reputation: 233
Default Re: 4 Errors on 1 line

Thank you all in advance
__________________
Back to service, unbanned.
HyDrAtIc is offline   Reply With Quote
Old 22/09/2012, 04:48 PM   #8
mamorunl
High-roller
 
mamorunl's Avatar
 
Join Date: Feb 2007
Location: Groningen/Netherlands
Posts: 1,938
Reputation: 2246
Default Re: 4 Errors on 1 line

Quote:
Originally Posted by xSkullx View Post
You missed 2 " and 3 ,
pawn Code:
ShowPlayerDialog(playerid, DIALOG_LOGIN, DIALOG_STYLE_INPUT,"""COLOR_WHITE"Login",""COLOR_WHITE"Type your password below to login.","Login","Quit");
Like I said, check your code before you post something. Your code gives him the same situation as before.
mamorunl 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
4 Errors on one line. Humprabbit Scripting Help 1 10/09/2012 06:33 PM
A few errors on one line. Humprabbit Scripting Help 4 09/09/2012 12:46 PM
3 errors in one line kaiks Scripting Help 4 22/07/2012 10:03 PM
Errors on one line kaiks Scripting Help 4 06/07/2012 11:47 AM
Shows Errors but no errors in this line Kane_Phoenix Help Archive 2 31/03/2009 02:38 PM


All times are GMT. The time now is 02:31 AM.


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