Szerző Téma: Skin Választó Gond.  (Megtekintve 457 alkalommal)

Nem elérhető Stramm

  • 193
    • Profil megtekintése
Skin Választó Gond.
« Dátum: 2013. február 13. - 21:36:50 »
0 Show voters
Sziasztok akár mit csinálok nem látszik a skin a skinválasztóban Kép:
\"326130401sa-mp-000_www.kepfeltoltes.hu_.png\"
A képet a Képfeltöltés.hu tárolja.
Itt a mod valaki megcsinálná PLS:

#include <a_samp>
new Text:Textdraw0;
new Text:Textdraw1;
#define SZIN_PIROS 0xfa0d0dAA
#define SZIN_FEHER 0xfafafaAA
#define SZIN_ZOLD 0x17d123AA
#define SZIN_CIAN 0x05fad9A
#define SZIN_LILA 0xd905faAA
#define SZIN_ROZSASZIN 0xfa05d5AA
#define SZIN_KEK 0x0000ffAA
#define SZIN_FEKETE 0x000000AA
#define SZIN_NARANCS 0xfa8100AA
#define SZIN_CITROM 0xfafa00AA
#define SZIN_PPFS 0xff6f00AA
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print(\"\\n================================\");
print(\"..:::\");
print(\"================================\\n\");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print(\"\\n================================\");
print(\"..:::\");
print(\"================================\\n\");
}
#endif
public OnGameModeInit()
{
    Textdraw0 = TextDrawCreate(413.000000, 421.000000, \"Web: \");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.629998, 2.699999);
    TextDrawColor(Textdraw0, 3454143);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);
Textdraw1 = TextDrawCreate(7.000000, 427.000000, \" szöveg majd\");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 1);
TextDrawLetterSize(Textdraw1, 0.509999, 1.800000);
TextDrawColor(Textdraw1, 9454143);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);
for(new i; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
   TextDrawShowForPlayer(i, Textdraw0);
   TextDrawShowForPlayer(i, Textdraw1);
}
}
SetGameModeText(\"Minigame/Race/Stunt/Dm\");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(1, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
    TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
TextDrawHideForAll(Textdraw1);
TextDrawDestroy(Textdraw1);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1959.2593,1343.0662,15.3746);
SetPlayerCameraPos(playerid, 1959.2593,1343.0662,15.3746);   //1958.3783, 1343.1572, 15.3746
SetPlayerCameraLookAt(playerid, 1954.4685,1343.0154,15.3746);   //1958.3783, 1343.1572, 15.3746
return 1;
}
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xfafa00AA, \"Üdv a Szerverren!\");
    SendClientMessage(playerid, 0xfafa00AA, \"Információért: /info /teles /rules /cmds!\");
    SendClientMessage(playerid, 0xfafa00AA, \"Weboldalunk: \");
    SendClientMessage(playerid, 0xfafa00AA, \"Olvasd el Figyelmesen a szabályzatott |/rules|\");
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
 
public OnPlayerSpawn(playerid)
{
      TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
new playercash;
if(killerid == INVALID_PLAYER_ID) {
        SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
        ResetPlayerMoney(playerid);
} else {
       SendDeathMessage(killerid,playerid,reason);
   SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
   playercash = GetPlayerMoney(playerid);
   if (playercash > 0)  {
      GivePlayerMoney(killerid, playercash);
      ResetPlayerMoney(playerid);
   }
   else
   {
   }
        }
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
//help=================================================
    if (strcmp(cmdtext, \"/help\", true)==0)
{
ShowPlayerDialog(playerid, 10000, DIALOG_STYLE_MSGBOX, \"Parancsaink:\", \"---\", \"Igen\", \"Mégse\");
//   PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;
}
//Info=================================================
if (strcmp(cmdtext, \"/info\", true)==0)
{
ShowPlayerDialog(playerid, 10410, DIALOG_STYLE_MSGBOX, \"Informácíó:\", \"---\", \"Igen\", \"Vissza\");
return 1;
}
//Szabályzat===========================================
if (strcmp(cmdtext, \"/rules\", true)==0)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, \"Szabályzat:\", \"{fa0000}(Ne Drive By-OzZ) {ffee00}Jármûvel elütsz valakit és ezzel Hp-Vesztést okozol neki.\\n\\n{fa0000}(Ne Flood-Olj){ffee00}Rövid idõn belül sok zavaró szöveget írsz a chat-be. \\n\\n{fa0000}(Ne Heckelj){ffee00} Cleo,God, Stunt & Drift javító programok STB...\\n\\n{fa0000}Ne Használd ki a szerver Bugokat és Hibákat.\\n\\n{fa0000}Parkour-Mod engedélyezett ({ffee00} De csak a kijelõlt helyken(/pkinf)\", \"Elfogad\", \"Mégse\");
    return 1;
}
//Parancsok============================================
    if(strcmp(cmdtext, \"/parachute\", true) == 0)
    {
    GivePlayerWeapon(playerid, 46, 1);
    SendClientMessage(playerid, 0x00BFFFFF, \"Ejtõernyõ Lekérve\");
    return 1;
}
if (strcmp(cmdtext, \"/flip\", true)==0)
{
new VehicleID, Float:X, Float:Y, Float:Z;
    GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID, X, Y, Z);
SetVehicleZAngle(VehicleID, 0);
SendClientMessage(playerid, 0x00BFFFFF, \"Jármû felálítva\");
    return 1;
}
    if (strcmp(cmdtext, \"/health\", true)==0)
{
SetPlayerHealth(playerid,100);
SendClientMessage(playerid, 0x00BFFFFF, \"Életed feltõltve!\");
return 1;
}
if(strcmp(\"/kill\", cmdtext, true, 10) == 0)  {
    SetPlayerHealth(playerid, 000.0);
    return 1;
}
if (strcmp(\"/inf\", cmdtext, true, 10) == 0) if (strcmp(\"/inf\", cmdtext, true, 10) == 0)
    {
    new vehicleid;
    new Float:X,Float:Y,Float:Z,Float:Angle;
    GetPlayerPos(playerid,X,Y,Z);
    GetPlayerFacingAngle(playerid,Angle);
    GetPlayerVehicleID(playerid);
    vehicleid = CreateVehicle(411,X,Y,Z,Angle,-1,-1,600);
    vehicleid = PutPlayerInVehicle(playerid, vehicleid, 0);
    return 1;
}
//Teleportok============================================================
if(strcmp(cmdtext, \"/jump\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,1532.2787,-1357.2721,329.4535);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,1532.2787,-1357.2721,329.4535);
GivePlayerWeapon(playerid, 46, 200);
}
return 1;
}
if(strcmp(cmdtext, \"/stunt\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,398.9411,2530.7256,16.5533);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,398.9411,2530.7256,16.5533);
}
return 1;
}
if(strcmp(cmdtext, \"/jizzy\", true) == 0) {
if(IsPlayerInAnyVehicle(playerid)) {
new Float:X;
new Float:Y;
new Float:Z;
new VehicleID;
GetPlayerPos(playerid, X, Y, Z);
VehicleID = GetPlayerVehicleID(playerid);
SetVehiclePos(VehicleID,-2610.5654,1393.0487,7.1021);
} else {
new Float:X;
new Float:Y;
new Float:Z;
GetPlayerPos(playerid, X, Y, Z);
SetPlayerPos(playerid,-2610.5654,1393.0487,7.1021);
}
return 1;
}
return SendClientMessage(playerid,0x74E80099,\"Ez a parancs nem létezik!\");
}
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 OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Skin Választó Gond.
« Válasz #1 Dátum: 2013. február 13. - 22:17:12 »
0 Show voters

public OnPlayerRequestClass(playerid, classid) {
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
return 1; }
Tessék.

Skin Választó Gond.
« Válasz #2 Dátum: 2013. február 14. - 06:33:25 »
0 Show voters
a SetPlayerPos elsõ (X) pozícióját írd át a SetPlayerCameraLookAt elsõ (X) pozíciójára

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal