Szerző Téma: Compile..  (Megtekintve 1067 alkalommal)

Compile..
« Dátum: 2010. Június 09. - 18:06:57 »
0 Show voters
Hello!
Gondolom sok scripter van ezen a forumon...Nos dolgozom egy uj RolePlay Szervren,Már megirtuk a kaját,intiket,gps satöbbi alapjávavéve már aligh LARP!Nos megcsináltam a bandakocsikat semmitserontottam el lecompilézte 0 Error 0 Warning! Beirom a srv cfg be hogy Steel.. Jó.. Samp server.exe rákantittok mijön ki? File not found...
http://imagerz.com/QFdCCF1SUAU Kép rola
Elore is kössz:D
|_________________________________________Egy másik kérdés________________________________________________|
Most merült fel a probléma  pont ma mármint ma jöttem rá lehet hogy ez a hiba...Eddig nemfoglalkoztam a NameTimer el de most errornak ir eddig csak kitöröltem...
 
public CustomPickups()
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new string[128];
NameTimer();
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
   GetPlayerPos(i, oldposx, oldposy, oldposz);
   new tmpcar = GetPlayerVehicleID(i);
   if(oldposx!=0.0 && oldposy!=0.0 && oldposz!=0.0)
   {
      for(new h = 0; h < sizeof(SBizzInfo); h++)
      {
         if(IsATruck(tmpcar) && PlayerToPoint(10.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
         {
            format(string, sizeof(string), \"~w~%s~n~~r~Products Required~w~: %d~n~~y~Price per Product: ~w~: $%d~n~~g~Funds: ~w~: $%d\",SBizzInfo[h][sbMessage],(SBizzInfo[h][sbMaxProducts]-SBizzInfo[h][sbProducts]),SBizzInfo[h][sbPriceProd],SBizzInfo[h][sbTill]);
            GameTextForPlayer(i, string, 5000, 3);
            return 1;
         }
         if(PlayerToPoint(2.0, i, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]))
         {
            if(SBizzInfo[h][sbOwned] == 1)
            {
               format(string, sizeof(string), \"~w~%s~w~~n~Owner : %s~n~Extortion by : %s~n~Entrance Fee : ~g~$%d ~n~~w~to enter type /enter\",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost]);
            }
            else
            {
               format(string, sizeof(string), \"~w~%s~w~~n~This Business is for sale~n~Cost: ~g~$%d ~w~Level : %d ~n~to buy this Business type /buybiz\",SBizzInfo[h][sbMessage],SBizzInfo[h][sbBuyPrice],SBizzInfo[h][sbLevelNeeded]);
            }
            GameTextForPlayer(i, string, 5000, 3);
            return 1;
         }

 
/OFF: Lécci ne bodáljatok paradicsomot hogy uj RP Szerver, Teljesen máshogy tervezem... Mert cska akkor inditm ha normális modot sikerül összehozni .D
« Utoljára szerkesztve: 2010. Június 09. - 20:38:17 írta Filippo_Salieri »

Nem elérhető maark

  • 565
    • Profil megtekintése
Compile..
« Válasz #1 Dátum: 2010. Június 09. - 19:01:45 »
0 Show voters
Elképzelheto hogy az FS-ben használsz valamilyen plugint de az nincs meg vagy nem töltöd be

Compile..
« Válasz #2 Dátum: 2010. Június 09. - 20:32:04 »
0 Show voters
Sajnos nem probáltam kivettem és ugyanaz..Ugye a mod nemlehet hibás?Mer a pawn lecopilézte

Nem elérhető Csabesz

  • 7827
    • Profil megtekintése
Compile..
« Válasz #3 Dátum: 2010. Június 09. - 20:43:15 »
0 Show voters
Csak az  a probléma, hogy a szerver nem talán egy olyan fájlt, amit használnál. ( Pl: Inc )

Compile..
« Válasz #4 Dátum: 2010. Június 09. - 21:28:59 »
0 Show voters
Jó lett. A streamer volt rossz. Esetleg valami Strímert tudtok ajánlani? Nemtudom van e olyan amibe nmekell sok cuccot átirni Hogy F_CreateObject(:.. STB!

Nem elérhető ►ѕтa

  • 2016
  • Newbie
    • Profil megtekintése
Compile..
« Válasz #5 Dátum: 2010. Június 09. - 21:32:42 »
0 Show voters
#define Objektlétrehozófunkció Ami a régi volt
pl:
#define F_CreateObject CreateObject

Compile..
« Válasz #6 Dátum: 2010. Június 09. - 21:45:34 »
0 Show voters
Beirtam Fainlett:D Elindult  a szeró...Az objectek faxák, De se  Kocsi,Se Pickup :d

Nem elérhető ►ѕтa

  • 2016
  • Newbie
    • Profil megtekintése
Compile..
« Válasz #7 Dátum: 2010. Június 09. - 22:46:25 »
0 Show voters
Kocsi meg ilyenhez is használsz streamert?

Compile..
« Válasz #8 Dátum: 2010. Június 10. - 06:36:30 »
0 Show voters
Nemhasználok ezt a Streamert használom http://forum.sa-mp.com/index.php?topic=164498.0
 Vagy ezt:http://forum.sa-mp.com/index.php?topic=143094.0
 Csak az utobbit nemtudom hogykel betenni.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal