Errors in class create...
#3

Quote:
Originally Posted by admantis
Посмотреть сообщение
pawn Код:
switch(classid)
 {
case 0: test
}
Remove it and put it in OnPlayerRequestClass, not outside it!
One thing you should read some tutorials and manuals this is a very obvious error, no offense.
Код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
 {
case 0: test
//and so on
}
	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;
 }
pawn Код:
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(78) : warning 217: loose indentation
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(804) : error 017: undefined symbol "test"
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(804 -- 806) : warning 215: expression has no effect
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(806) : error 001: expected token: ";", but found "}"
C:\Users\Alex - Webhost\Desktop\Divinity Gaming Comunity\SA-MP\SFP C R6\gamemodes\sfp.pwn(807) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
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)