Cannot compile.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Cannot compile.. (
/showthread.php?tid=614271)
Cannot compile.. -
Uvais - 06.08.2016
This is the error line..
PHP код:
Line 5982 SendClientMessageEx(playerid, COLOR_WHITE,"*** This is a short version of our server rulebook. Please visit sriyankgaming.in to see a full list of XGRP's server rules! ***");
This is the pawno logs..
Код:
./includes/commands.pwn(5782) : error 029: invalid expression, assumed zero
./includes/commands.pwn(5782 -- 5783) : warning 215: expression has no effect
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Cannot compile.. -
Shinja - 06.08.2016
PHP код:
SendClientMessage(playerid, COLOR_WHITE,"*** This is a short version of our server rulebook. Please visit sriyankgaming.in to see a full list of XGRP's server rules! ***");
Or you using a stock? show it
Re: Cannot compile.. -
Uvais - 06.08.2016
What to show?
Re: Cannot compile.. -
SyS - 06.08.2016
show the neighbouring codes too its not necessary that the reported line has problem.
Re: Cannot compile.. -
Shinja - 06.08.2016
PHP код:
SendClientMessage(playerid, COLOR_WHITE,"*** This is a short version of our server rulebook. Please visit sriyankgaming.in to see a full list of XGRP's server rules! ***");
And try this
Re: Cannot compile.. -
Uvais - 06.08.2016
Код:
CMD:rules(playerid, params[])
{
SendClientMessageEx(playerid, COLOR_WHITE,"*** Server Rules ***");
SendClientMessageEx(playerid, COLOR_GRAD1,"Always roleplay - PGRP is a role-play server. Your character's behavior needs to be as realistic, and close to real life as possible!");
SendClientMessageEx(playerid, COLOR_GRAD1,"No metagaming! Don't mix in-character (IC) and out-of-character (OOC) chat/information. IC chat is the default chat, OOC is used by typing /b!");
SendClientMessageEx(playerid, COLOR_GRAD2,"No killing on sight (KOS). Killing a person on sight without a word or any attempt to roleplay is not allowed and is prisonable!");
SendClientMessageEx(playerid, COLOR_GRAD2,"No revenge-killing (RK). If a person critically injured you, you are not allowed to go back to kill them! After hospital, you lose all memory of the last 30 minutes!");
SendClientMessageEx(playerid, COLOR_GRAD3,"No powergaming! Impossible roleplay, meaning anything that is cannot be done in real life is forbidden! Do not force roleplay on others!");
SendClientMessageEx(playerid, COLOR_GRAD3,"No driver drive-by (DDB). Shooting out the window as a driver is strictly against the rules! You may only shoot out the window as a passenger.");
SendClientMessageEx(playerid, COLOR_GRAD4,"No car-ramming or car parking! Do not repeatedly ram other people with your car, and don't park on top of a person to kill them!");
SendClientMessageEx(playerid, COLOR_GRAD4,"No logging to avoid! Never log out or alt-tab out of game to avoid death, arrest or prison!");
SendClientMessageEx(playerid, COLOR_WHITE,"*** This is a short version of our server rulebook. Please visit sriyankgaming.in to see a full list of XGRP's server rules! ***");
SendClientMessageEx(playerid, COLOR_YELLOW, "* You can find a copy of our server rules on the forums.");
return 1;
}
Re: Cannot compile.. -
Shinja - 06.08.2016
Remove all Ex or show us your stock if you have
Off-topic: It's useless to define COLOR WHITE, just do -1
Re: Cannot compile.. -
Uvais - 06.08.2016
thanks , removing the "Ex" solved my problem.. Repped to both.