Error
#1

Код:
   157    - public OnPlayerCommandText(playerid, cmdtext[])
{

	   //==============================/v help=============================
	   
	   if (strcmp("/vhelp", cmd, true, 10) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			SendClientMessage(playerid, ,"____________Ulric Car Ownership___________________________";
			SendClientMessage(playerid, ,"*** CAR HELP *** type the command for more help");
			SendClientMessage(playerid, ,"*** CAR *** /vpark /vbuy /vcall /vlock");
			SendClientMessage(playerid, ,"*** CAR *** /vunlock /vplate /vsell /mycar");
            SendClientMessage(playerid, ,"*** CAR *** /openbonnet /closebonnet /buyalarm /alarmon");
            SendClientMessage(playerid, ,"*** CAR *** /alarmoff /opendoor /closedoor /lighton /lightoff")
		}
		return 1;
174-	}
Код:
C:\Users\Vlad\Desktop\carowner.pwn(133) : warning 235: public function lacks forward declaration (symbol "OnPlayerUpdate")
C:\Users\Vlad\Desktop\carowner.pwn(162) : error 017: undefined symbol "cmd"
C:\Users\Vlad\Desktop\carowner.pwn(166) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(166) : warning 215: expression has no effect
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(167) : warning 215: expression has no effect
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 001: expected token: ";", but found ")"
C:\Users\Vlad\Desktop\carowner.pwn(167) : error 029: invalid expression, assumed zero
C:\Users\Vlad\Desktop\carowner.pwn(167) : fatal error 107: too many error messages on one line

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


6 Errors.
i really dont know what to do THx
Reply


Messages In This Thread
Error - by Fglz - 01.07.2011, 09:28
Re: Error - by [HiC]TheKiller - 01.07.2011, 11:21

Forum Jump:


Users browsing this thread: 2 Guest(s)