Help with a simple command.. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with a simple command.. (
/showthread.php?tid=268396)
Help with a simple command.. -
R3G1ST3R - 12.07.2011
Код:
CMD:evohelp(playerid,params[]);
{
SendClientMessage(playerid,COLOR_RED,"Evo Commands");
SendClientMessage(playerid,COLOR_RED,"/mgate to enter through the main gate.");
SendClientMessage(playerid,COLOR_RED,"/sgate to enter from the secondary gate.");
SendClientMessage(playerid,COLOR_RED,"/sgate2 to enter the 2nd secondary gate.");
SendClientMessage(playerid,COLOR_RED,"Duty Commands"):
SendClientMessage(playerid,COLOR_RED,"/Scienceduty, /patrolduty, /presidentduty, /gaurdduty");
return 1
}
Код:
C:\Documents and Settings\Jeremy\Desktop\San Andreas Files\GameMode\filterscripts\EVO.pwn(489) : error 055: start of function body without function header
C:\Documents and Settings\Jeremy\Desktop\San Andreas Files\GameMode\filterscripts\EVO.pwn(496) : error 010: invalid function or declaration
Re: Help with a simple command.. -
Vince - 12.07.2011
Remove the semicolon on the first line.
This forum requires that you wait 120 seconds between posts. Please try again in 44 seconds.
Re: Help with a simple command.. -
ScRaT - 12.07.2011
this line
pawn Код:
SendClientMessage(playerid,COLOR_RED,"Duty Commands"):
is
pawn Код:
SendClientMessage(playerid,COLOR_RED,"Duty Commands");
: ----->
;