Jump to content
  • 0

Pozitia de start


Guest BennY

Question

12 answers to this question

Recommended Posts

  • 0

Cauti la  la OnGameModeInit AddPlayerClass si e cam aja codu

AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);

Link to comment
Share on other sites

  • 0

Am cautat si e cam asa codul :

// Player Class's

for(new i = 0; i <= sizeof(Peds)-1; i++)

{

AddPlayerClass(Peds[0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);

}

Am inlocuit dar nu merge....

Mai aveti vreo idee ?

Link to comment
Share on other sites

  • 0

Pai daca vrei sa fie toate skinurile uite ce trebe sa faci

1.Pui astea inaintea la OnGameModeInit

IsValidSkin(skinid)
{
    #define MAX_BAD_SKINS 22
    new badSkins[MAX_BAD_SKINS] =
    {
        3, 4, 5, 6, 8, 42, 65, 74, 86,
        119, 149, 208, 265, 266, 267,
        268, 269, 270, 271, 272, 273, 289
    };
    if (skinid < 0 || skinid > 299) return false;
    for (new i = 0; i < MAX_BAD_SKINS; i++)
    {
        if (skinid == badSkins[i]) return false;
    }
    #undef MAX_BAD_SKINS
    return 1;
}
Ji asta la OnGameModeInit
for(new i = 0; i < 299; i++)
{
if(IsValidSkin(i))
{
AddPlayerClass(i,2029.114868, 1351.266602, 11.320313, 269.1425,-1,-1,-1,-1,-1,-1);
}
}

Link to comment
Share on other sites

  • 0

Ms , dar asta e doar ca sa schimb skinul jucatorului , eu am intrebat cum il mut . De Ex: El la inceput ma da la banka , iau eu vreau sa ma dea la aeroport... Unde schimb coordonatele ?

P.S : Imi este folositoare si chestia cu schimbarea skinului...

Link to comment
Share on other sites

  • 0

PlayerInfo[playerid][pPos_x]
PlayerInfo[playerid][pPos_y]
PlayerInfo[playerid][pPos_z]

Cauta in .pwn cele de sus si schimba la fiecare in parte.

B-Zone: Role Play Server -  77.81.202.202:7777 [url=http://www.game-monitor.com/sa-mp_GameServer/77.

Link to comment
Share on other sites

  • 0

Am schimbat :

        PlayerInfo[playerid][pPos_x] = -1413.6948;

PlayerInfo[playerid][pPos_y] = -298.2092;

PlayerInfo[playerid][pPos_z] = 14.1484;

si nu merge , tot akolo ma da :|

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By Tefyuu
      Salut , cum pot sa imi aflu pozitia gen 2405.5603,-1511.6052,24.0068   , coordonatele cum le pot afla ?
    • By KenyRPG
      SA-MP Dedicated Server
      ----------------------
      v0.3.7-R2, (C)2005-2015 SA-MP Team
      [17:44:53] 
      [17:44:53] Server Plugins
      [17:44:53] --------------
      [17:44:53]  Loading plugin: crashdetect
      [17:44:53]   CrashDetect v4.15.1 is OK.
      [17:44:53]   Loaded.
      [17:44:53]  Loading plugin: sscanf
      [17:44:53] 
      [17:44:53]  ===============================
      [17:44:53]       sscanf plugin loaded.     
      [17:44:53]          Version:  2.8.1        
      [17:44:53]    (c) 2012 Alex "Y_Less" Cole  
      [17:44:53]  ===============================
      [17:44:53]   Loaded.
      [17:44:53]  Loading plugin: mysql
      [17:44:53]   Failed.
      [17:44:53]  Loading plugin: streamer
      [17:44:53] 
      *** Streamer Plugin v2.7.7 by Incognito loaded ***
      [17:44:53]   Loaded.
      [17:44:53]  Loaded 3 plugins.
      [17:44:53] 
      [17:44:53] Filterscripts
      [17:44:53] ---------------
      [17:44:53]   Loaded 0 filterscripts.
      [17:44:53] [debug] Run time error 19: "File or function is not found"
      [17:44:53] [debug]  mysql_format
      [17:44:53] [debug]  mysql_tquery
      [17:44:53] [debug]  mysql_query
      [17:44:53] [debug]  cache_get_row_count
      [17:44:53] [debug]  cache_delete
      [17:44:53] [debug]  cache_get_field_content_int
      [17:44:53] [debug]  cache_get_field_content
      [17:44:53] [debug]  mysql_escape_string
      [17:44:53] [debug]  cache_insert_id
      [17:44:53] [debug]  mysql_close
      [17:44:53] [debug]  cache_get_field_content_float
      [17:44:53] [debug]  mysql_log
      [17:44:53] [debug]  mysql_connect
      [17:44:53] [debug]  cache_get_row_int
      [17:44:53] [debug]  mysql_unprocessed_queries
      [17:44:53] [debug]  cache_get_data
      [17:44:53] [debug] Run time error 19: "File or function is not found"
      [17:44:53] [debug]  mysql_format
      [17:44:53] [debug]  mysql_tquery
      [17:44:53] [debug]  mysql_query
      [17:44:53] [debug]  cache_get_row_count
      [17:44:53] [debug]  cache_delete
      [17:44:53] [debug]  cache_get_field_content_int
      [17:44:53] [debug]  cache_get_field_content
      [17:44:53] [debug]  mysql_escape_string
      [17:44:53] [debug]  cache_insert_id
      [17:44:53] [debug]  mysql_close
      [17:44:53] [debug]  cache_get_field_content_float
      [17:44:53] [debug]  mysql_log
      [17:44:53] [debug]  mysql_connect
      [17:44:53] [debug]  cache_get_row_int
      [17:44:53] [debug]  mysql_unprocessed_queries
      [17:44:53] [debug]  cache_get_data
      [17:44:53] Script[gamemodes/redhood.amx]: Run time error 19: "File or function is not found"
      [17:44:53] Number of vehicle models: 0
       
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.