Help with a simple command..
#1

Код:
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
Reply
#2

Remove the semicolon on the first line.

This forum requires that you wait 120 seconds between posts. Please try again in 44 seconds.
Reply
#3

this line

pawn Код:
SendClientMessage(playerid,COLOR_RED,"Duty Commands"):
is
pawn Код:
SendClientMessage(playerid,COLOR_RED,"Duty Commands");
: -----> ;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)