Hey
1.)Frage Wie erstelle ich eine neue Fraktion (kein GF Script ich mache eigenen)
2.)Wie mach ich z.B den Befehl /help
3.)Wie kann ich die Kameraansich ändern also beim spawnen will anderen Spawnplatz
mfg.Waldi
p.s Danke
Hey
1.)Frage Wie erstelle ich eine neue Fraktion (kein GF Script ich mache eigenen)
2.)Wie mach ich z.B den Befehl /help
3.)Wie kann ich die Kameraansich ändern also beim spawnen will anderen Spawnplatz
mfg.Waldi
p.s Danke
hab schon geklärt danke aber
ich habe da fehler #include <a_samp>
#pragma tabsize 0
#define COLOR_YELLOW 0xFFFF00AA
#define FILTERSCRIPT
#if defined FILTERSCRIPT
new pd_gate;
public OnFilterScriptInit()
{
y_gate = CreateObject(5302, 618.192932, -601.542847, 18.556799, 0.0000, 0.0000, 180.0000);
print("\n--------------------------------------");
print(" Reallifescript by ...");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
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;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/pdo", true) == 0){
MoveObject(y_gate,618.192932 -601.542847 18.556799);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: PD Gelände!");
return 1;
}
if (strcmp(cmdtext, "/pdcc", true) == 0){
MoveObject(y_gate,617.029541 -601.491394 20.527163);
SendClientMessage(playerid, COLOR_YELLOW,"ACHTUNG: PD Gelände!");
return 1;
}
return 0;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
errors:
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(39) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(39) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(40) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(40) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(41) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(41) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(42) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(42) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(43) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(43) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(44) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(44) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(45) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(45) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(46) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(46) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(47) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(47) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(48) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(48) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(49) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(49) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(50) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(50) : error 010: invalid function or declaration
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(51) : error 021: symbol already defined: "AddStaticVehicle"
D:\Programme\Rockstar Games\GTA San Andreas\samp022server.win32\pawno\include\a_vehicles.inc(51) : error 010: invalid function or declaration
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
ok danke werde mal schaun will scripten lernen nun ja und das is denk ich mal das leichteste
Also ich versuche zu scripten dacher frag ich mich würde das als megaphone gehen?
if (strcmp(cmdtext, "/m", true) == 0 || strcmp(cmdtext, "/m", true) == 0)SendClientMessage(playerid, ROT,"Stop Polizei");
Hey ich kann das zwar net abe4r kannst du ip vom officelen game server geben ? *g*