help with errors
#1

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext,"/skydive",true)==0)
    SetPlayerPos(playerid,-2342.1726,-1176.2717,2145.3945);
    GivePlayerWeapon(playerid, 46, 1);
  return 1;
    }
    if(strcmp(cmd, "/cmds", true) == 0) {
    SendPlayerFormattedText(playerid,"to spawn a car do /carmenu",0);
    SendPlayerFormattedText(playerid,".",0);
    SendPlayerFormattedText(playerid,".",0);
    SendPlayerFormattedText(playerid,".", 0);
    SendPlayerFormattedText(playerid,".", 0);
  return 1;
}
Код:
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(290) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(292) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(293) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(294) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(295) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\Untitled.pwn(296) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply


Messages In This Thread
help with errors - by johnathon956 - 06.04.2010, 12:12
Re: help with errors - by andmeida10 - 06.04.2010, 12:22
Re: help with errors - by johnathon956 - 06.04.2010, 13:30
Re: help with errors - by wafffllesss - 06.04.2010, 13:36
Re: help with errors - by johnathon956 - 06.04.2010, 14:12
Re: help with errors - by dice7 - 06.04.2010, 14:15
Re: help with errors - by Mikep. - 06.04.2010, 14:16

Forum Jump:


Users browsing this thread: 1 Guest(s)