Help with this line
#1

[3:49:34 PM] ☠✞Siv✞☠: C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8543) : error 001: expected token: ",", but found "-string-"
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8543) : error 001: expected token: ";", but found ")"
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8543) : error 029: invalid expression, assumed zero
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8543) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
[3:50:09 PM] ☠✞Siv✞☠: Here's the line:
[3:50:17 PM] ☠✞Siv✞☠: if(!PlayerInfo[playerb][pVeh] && !PlayerInfo[playerb][pVVeh]) return SendClientMessage(playerid, COLOR_ORANGE "This player doesn't own a vehicle.");
Reply
#2

if(!PlayerInfo[playerb][pVeh] && !PlayerInfo[playerb][pVVeh]) return SendClientMessage(playerid, COLOR_ORANGE, "This player doesn't own a vehicle.");
Reply
#3

Quote:
Originally Posted by thefirestate
Посмотреть сообщение
if(!PlayerInfo[playerb][pVeh] && !PlayerInfo[playerb][pVVeh]) return SendClientMessage(playerid, COLOR_ORANGE, "This player doesn't own a vehicle.");
what's the difference between the line I posted and the one you gave
Reply
#4

Quote:
Originally Posted by RuvExArisa
Посмотреть сообщение
what's the difference between the line I posted and the one you gave
SendClientMessage(playerid, COLOR_ORANGE, "This player doesn't own a vehicle.");
Reply
#5

Just clarify @thefirestate

Quote:
Originally Posted by thefirestate
Посмотреть сообщение
SendClientMessage(playerid, COLOR_ORANGE, "This player doesn't own a vehicle.");
You forget to add , After COLOR_ORANGE
Your Work
PHP код:
SendClientMessage(playeridCOLOR_ORANGE "This player doesn't own a vehicle."); 
True work
PHP код:
SendClientMessage(playeridCOLOR_ORANGE"This player doesn't own a vehicle.");//your forget to add "," in your work 
Reply
#6

Okay that line fixed now, I have this one:

Errors

Код:
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8631) : error 029: invalid expression, assumed zero
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8631) : warning 215: expression has no effect
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8631) : error 001: expected token: ";", but found ")"
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8631) : error 029: invalid expression, assumed zero
C:\Users\Siv\Desktop\Pawno\AGRP.pwn(8631) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Line

Quote:

format(string, sizeof(string), "[ASELL]: "WHT"%s "ORG"has sold "WHT"%s's "ORG"vehicle "WHT"(ID:%d)");, RPN(playerid), RPN(playerb), carid);

The WHT and ORG are colors that's defined in the script. They aren't causing the error.
Reply
#7

format(string, sizeof(string), "[ASELL]: "WHT"%s "ORG"has sold "WHT"%s's "ORG"vehicle "WHT"(ID:%d)", RPN(playerid), RPN(playerb), carid);

previous one:

format(string, sizeof(string), "[ASELL]: "WHT"%s "ORG"has sold "WHT"%s's "ORG"vehicle "WHT"(ID:%d)");, RPN(playerid), RPN(playerb), carid);

The red is not supposed to be there.
Reply
#8

Quote:
Originally Posted by thefirestate
Посмотреть сообщение
format(string, sizeof(string), "[ASELL]: "WHT"%s "ORG"has sold "WHT"%s's "ORG"vehicle "WHT"(ID:%d)", RPN(playerid), RPN(playerb), carid);

previous one:

format(string, sizeof(string), "[ASELL]: "WHT"%s "ORG"has sold "WHT"%s's "ORG"vehicle "WHT"(ID:%d)");, RPN(playerid), RPN(playerb), carid);

The red is not supposed to be there.
yeah like this For more Wiki samp format
I hope this can help you
Reply
#9

Quote:
Originally Posted by Amunra
Посмотреть сообщение
yeah like this For more Wiki samp format
I hope this can help you
Aah?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)