Moin, ich möchte bei der Char auswahl stehen haben Team grove etc aber immer bekomme ich diese Errors/Warnings
Code
C:\Programme\Rockstar Games\GTA San Andreas\pawno\Tobias.pwn(59) : error 055: start of function body without function header
C:\Programme\Rockstar Games\GTA San Andreas\pawno\Tobias.pwn(64) : error 010: invalid function or declaration
C:\Programme\Rockstar Games\GTA San Andreas\pawno\Tobias.pwn(66) : error 010: invalid function or declaration
C:\Programme\Rockstar Games\GTA San Andreas\pawno\Tobias.pwn(97) : warning 202: number of arguments does not match definition
Code
public OnGameModeInit()
{
SetGameModeText("Fun Deathmatch");
AddStaticVehicle(492,1536.2927,-887.2026,61.0732,101.2572,13,13); //
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 22, 999, 28, 999, 0, 0);//Team Grove
AddPlayerClass(105, 1958.3783, 1343.1572, 15.3746, 269.1425, 22, 999, 28, 999, 0, 0);//Team Grove
AddPlayerClass(106, 1958.3783, 1343.1572, 15.3746, 269.1425, 22, 999, 28, 999, 0, 0);//Team Grove
AddPlayerClass(107, 1958.3783, 1343.1572, 15.3746, 269.1425, 22, 999, 28, 999, 0, 0);//Team Grove
AddStaticVehicle(436,1527.0470,-891.9395,60.8923,10.4330,87,1); //
AddStaticVehicle(507,1532.2377,-847.9956,65.4464,147.1525,125,125); //
lossantosvagos = GangZoneCreate(2269.447, -1058.119, 2889.309, -904.1568);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid,classid)
if(classid == 0 || classid == 1 || classid == 2 || classid == 3)
{
GameTextForPlayer(playerid,"~g~Grove Street",3000,3);
}
{
SetPlayerPos(playerid, 1449.8280,-2287.5422,13.5469);
SetPlayerCameraPos(playerid, 1446.0238,-2287.4514,13.5469);
SetPlayerCameraLookAt(playerid, 1449.8280,-2287.5422,13.5469);
SetPlayerFacingAngle(playerid, 90.0);
return 1;
}
if(classid == 0 || classid == 1 || classid == 2 || classid == 3)
{
GameTextForPlayer(playerid,"~g~Grove Street",3000,3);
}
Alles anzeigen
Eigentlich müsste da sdoch klappen oder? Wen ich da was falsch gemacht habe bitte Schreiben, danke