habe mir eben in samp debug cooordinaten für addplayerclass geholt und wollte sie nun einfügen allerding bekomme ich 7 errors angezeigt,
erstma das eingefügte :
// Don't use these lines if it's a filterscript
SetGameModeText("Selfmade");
AddPlayerClass(7,2359.3281,1048.6542,18.3200,253.0709,0,0,0,0,0,0); //
AddPlayerClass(0,2359.3281,1048.6542,18.3200,253.0709,0,0,0,0,0,0); //
AddPlayerClass(17,2359.7483,1048.5852,18.3200,253.0709,0,0,0,0,0,0); //
AddPlayerClass(21,2359.7483,1048.5852,18.3200,253.0709,0,0,0,0,0,0); //
AddPlayerClass(22,2359.7483,1048.5852,18.3200,253.0709,0,0,0,0,0,0); //
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2359.7483,1048.5852,18.3200,253.0709);
SetPlayerCameraPos(playerid, 287.3448,1931.1991,17.6406,306.7670);
SetPlayerCameraLookAt(playerid 2359.7483,1048.5852,18.3200,253.0709);
(hab ein paar rausgemacht)
und hier die errors :
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(35) : error 017: undefined symbol "playerid"
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(35) : warning 215: expression has no effect
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(36) : warning 217: loose indentation
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(38) : error 021: symbol already defined: "SetGameModeText"
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(70) : error 010: invalid function or declaration
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(80) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(81) : warning 202: number of arguments does not match definition
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(82 -- 84) : error 076: syntax error in the expression, or invalid function call
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(84) : warning 217: loose indentation
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(84) : error 029: invalid expression, assumed zero
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(84) : error 004: function "OnPlayerConnect" is not implemented
C:\Users\Marco\Desktop\Stunt Server\gamemodes\Freeroam.pwn(84) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
ich werd da nicht schlau draus also bitte kann mir jemand helfen ?
hab die fehler gefunden
/Closed