21.12.2010, 17:34
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:
my errors:
Thanks for your time and help
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
}
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.