Huhu, bekomme immer den "CJ" skin, und kann auch nicht zwischen den anderen Skins hin und her schalten..
Kanns sich einer erklären wieso?
#include <a_samp>
#define COLOR_ORANGE 0xFF8000FF
#pragma tabsize 0
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Parkour - Mirrors Edge Style by Deathangel © 2009 ");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
///txtdraw
///////
UsePlayerPedAnims();
// Don't use these lines if it's a filterscript
SetGameModeText("Parkour v0.1");
AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(188, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(250, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(121, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(7, 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, 2032.2887,1544.8514,10.8203);
SetPlayerCameraPos(playerid, 2037.3260,1544.8792,10.8203);
SetPlayerCameraLookAt(playerid, 2032.2887,1544.8514,10.8203);
SetPlayerFacingAngle(playerid, 270.0);
}
public OnPlayerRequestSpawn(playerid)
{
SetPlayerPos(playerid, 2032.2887,1544.8514,10.8203);
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xFF8000FF,"Wilkommen auf dem Server.");
SendClientMessage(playerid, 0xFF8000FF,"Dies ist ein Server der Einschließlich um den Parkour handelt.");
SendClientMessage(playerid, 0xFF8000FF,"Wenn du nicht wissen solltest was Parkour ist, oder was man hier macht,");
SendClientMessage(playerid, 0xFF8000FF,"tippe /parkourhelp.");
SendClientMessage(playerid, 0xFF8000FF,"~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, 0xFF8000FF,"Du musst dich nicht registrieren, dient jedoch zum speichern der Punkte & Erweiterungen im Shop");
SendClientMessage(playerid, 0xFF8000FF,"Tippe /register [passwort] um einen Account anzulegen");
SendClientMessage(playerid, 0xFF8000FF,"Tippe /login [passwort] um dich in einen bereits bestehenden Account einzuloggen.");
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s hat den Server Betreten.", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason)
{
case 0: format(string, sizeof(string), "%s hat den Server verlassen. (timeout)", pName);
case 1: format(string, sizeof(string), "%s hat den Server verlassen. (leave)", pName);
case 2: format(string, sizeof(string), "%s hat den Server verlassen. (kick/ban)", pName);
}
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 1925.4318,-1414.5797,13.5703);
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("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Help]________]");
SendClientMessage(playerid, 0xFF8000FF,"/commands");
SendClientMessage(playerid, 0xFF8000FF,"/credits");
SendClientMessage(playerid, 0xFF8000FF,"/parkourhelp");
}
if (strcmp("/commands", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Commands]________]");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
} if (strcmp("/credits", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Credits]________]");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
}
if (strcmp("/parkourhelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Parkourhelp]________]");
SendClientMessage(playerid, 0xFF8000FF,"Parkour ist eine Akrobatische Art der schnellen Fortbewegung.");
SendClientMessage(playerid, 0xFF8000FF,"Es wird über Zäune und Dächer gesprungen und meist ein Akrobatischer");
SendClientMessage(playerid, 0xFF8000FF,"Sprung oder Abrolle hinzugefügt.");
}
return 1;
}
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;
}
Bitte um Hilfe, (btw an anderen Filterscripts oder so kann es nicht liegen hab es nur mal mit dem Gamemode getestet und da klappt es nicht auch mti den beiliegenden fs`s klappt es nicht!?)