Errors in class create...
#1

Hey SA-MP! I am making a gamemode as some of you know.
I am trying to make is as unique as possible.
But... I got an error and now I am stuck...

my code:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
    SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
    return 1;
 }
switch(classid)
 {
case 0: test
}
my errors:
pawn Код:
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(66) : warning 217: loose indentation
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(795) : error 010: invalid function or declaration
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(797) : error 010: invalid function or declaration
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(799) : error 054: unmatched closing brace ("}")
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
Thanks for your time and help
Reply


Messages In This Thread
Errors in class create... - by propilot - 21.12.2010, 17:34
Respuesta: Errors in class create... - by admantis - 21.12.2010, 17:36
Re: Respuesta: Errors in class create... - by propilot - 21.12.2010, 17:38
Respuesta: Errors in class create... - by admantis - 21.12.2010, 17:40
Re: Respuesta: Errors in class create... - by propilot - 21.12.2010, 17:42
Respuesta: Re: Respuesta: Errors in class create... - by admantis - 21.12.2010, 17:44
Re: Errors in class create... - by propilot - 21.12.2010, 17:45

Forum Jump:


Users browsing this thread: 1 Guest(s)