Hey Leute,
hab vor mir ein paar Tutorials im sachen scripting angeschaut und wollte jetzt
einfach nur dafür sorgen das ich in den BSN reinkomme..
Nur bekomme ich folgende Fehlermeldung beim compilen (oder wie das heißt )
"error 010: invalid function or declaration."
Hier das Script^^
#define Orange 0xFFB400FF
BSNein = CreatePickup(1318, 2,1199.3511,-919.8430,43.1098, - 1);
BSNaus = CreatePickup(1318, 2,362.8822,-75.1754,1001.5078, -1);
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
SetGameModeText("Erster Versuch");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
DisableInteriorEnterExits () ;
public OnPlayerRequestClass(playerid, classid)
SetPlayerPos(playerid,-1606.3937,721.7627,12.1289);
SetPlayerCameraPos(playerid,-1605.5385,732.1191,11.8163);
SetPlayerCameraLookAt(playerid,-1606.3937,721.7627,12.1289);
SetPlayerFacingAngle (playerid,359.3596);
public OnPlayerConnect(playerid)
public OnPlayerDisconnect(playerid, reason)
public OnPlayerSpawn(playerid)
SetPlayerPos(playerid, -1606.3937,721.7627,12.1289);
public OnPlayerDeath(playerid, killerid, reason)
public OnVehicleSpawn(vehicleid)
public OnVehicleDeath(vehicleid, killerid)
public OnPlayerText(playerid, text[])
public OnPlayerCommandText(playerid, cmdtext[])
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
if (strcmp("/BSN", cmdtext, true, 10) == 0)
SetPlayerPos(playerid,1208.9404,-930.0908,42.9236);
SendClientMessage(playerid,Gelb,"Du bist nun am BSN.");
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
public OnPlayerExitVehicle(playerid, vehicleid)
public OnPlayerStateChange(playerid, newstate, oldstate)
public OnPlayerEnterCheckpoint(playerid)
public OnPlayerLeaveCheckpoint(playerid)
public OnPlayerEnterRaceCheckpoint(playerid)
public OnPlayerLeaveRaceCheckpoint(playerid)
public OnRconCommand(cmd[])
public OnPlayerRequestSpawn(playerid)
public OnObjectMoved(objectid)
public OnPlayerObjectMoved(playerid, objectid)
public OnPlayerPickUpPickup(playerid, pickupid)
SetPlayerPos(playerid,363.6038,-74.6662,1001.5078);
SetPlayerFacingAngle(playerid,311.2533);
SetPlayerInterior(playerid,10);
SetPlayerPos(playerid,1199.1300,-920.5710,43.0292);
SetPlayerFacingAngle(playerid,189.4001);
SetPlayerInterior(playerid,0);
public OnVehicleMod(playerid, vehicleid, componentid)
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
public OnVehicleRespray(playerid, vehicleid, color1, color2)
public OnPlayerSelectedMenuRow(playerid, row)
public OnPlayerExitedMenu(playerid)
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
public OnRconLoginAttempt(ip[], password[], success)
public OnPlayerUpdate(playerid)
public OnPlayerStreamIn(playerid, forplayerid)
public OnPlayerStreamOut(playerid, forplayerid)
public OnVehicleStreamIn(vehicleid, forplayerid)
public OnVehicleStreamOut(vehicleid, forplayerid)
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
Falls es einfach nur ein dummer Fehler von mir ist sry^^
Bin es öfter durch gegangen und hab nix gefunden.
Genauso wenig hat google mir gehofen.