Jump to content
  • 0

Deschiderea serverului


Sealand123

Question

Problema intalnita (descriere):Pai am un GM care ruleaza mysql si cand il deschid la mine in PC merge perfect se conteaza tot dar cand il pun pe host face legatura dar nu ma lasa sa intru pe server 
Ero(area / rile) / warning-(ul / urile):Nu imi da
Liniile de cod / sursa / script-ul(obligatoriu):[19:40:07]  

[19:40:07] ---------------------------
[19:40:07] MySQL Debugging activated (03/05/15)
[19:40:07] ---------------------------
[19:40:07]  
[19:40:07] >> mysql_query( Connection handle: 1 )
[19:40:07] CMySQLHandler::Query(SELECT * FROM `houses` ORDER BY `houses`.`hID` ASC) - Successfully executed.
[19:40:07] >> mysql_store_result( Connection handle: 1 )
[19:40:07] CMySQLHandler::StoreResult() - Result was stored.
[19:40:07] >> mysql_retrieve_row( Connection handle: 1 )
[19:40:07] >> mysql_fetch_field_row( Connection handle: 1 )
[19:40:07] CMySQLHandler::FetchField("hID") - 1
[19:40:07] >> mysql_fetch_field_row( Connection handle: 1 )
[19:40:07] CMySQLHandler::FetchField("PosX") - 2266.97
[19:40:07] >> mysql_fetch_field_row( Connection handle: 1 )
[19:40:07] CMySQLHandler::FetchField("PosY") - 1633.61
[19:40:07] >> mysql_fetch_field_row( Connection handle: 1 )
[19:40:07] CMySQLHandler::FetchField("PosZ") - 1084.23
[19:40:07] >> mysql_fetch_field_row( Connection handle: 1 )
etc

Imagini / Video (optional):
Ati incercat sa rezolvati singur?:da

Link to comment
Share on other sites

12 answers to this question

Recommended Posts

  • 0



----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z, (C)2005-2014 SA-MP Team

[16:55:36]
[16:55:36] Server Plugins
[16:55:36] --------------
[16:55:36]  Loading plugin: streamer.dll
[16:55:36]

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[16:55:36]   Loaded.
[16:55:36]  Loading plugin: sscanf.dll
[16:55:36]

[16:55:36]  ===============================

[16:55:36]       sscanf plugin loaded.     

[16:55:36]    (c) 2009 Alex "Y_Less" Cole

[16:55:36]  ===============================

[16:55:36]   Loaded.
[16:55:36]  Loading plugin: mysql.dll
[16:55:36]

  > MySQL plugin R5 successfully loaded.

[16:55:36]   Loaded.
[16:55:36]  Loading plugin: crashdetect.dll
[16:55:36]   crashdetect v4.8.3 is OK.
[16:55:36]   Loaded.
[16:55:36]  Loaded 4 plugins.

[16:55:36]
[16:55:36] Ban list
[16:55:36] --------
[16:55:36]  Loaded: samp.ban
[16:55:36]
[16:55:36]
[16:55:36] Filterscripts
[16:55:36] ---------------
[16:55:36]   Loading filterscript 'Harta.amx'...
[16:55:36] [SCRIPT]:FS Loaded 8694 Objects
[16:55:36]   Loaded 1 filterscripts.

[16:55:36] SUCCES: Conexiunea la baza de date`serverrpg` a fost stabilita!
[16:55:42] ** "200" houses were created!
[16:55:42]
=============================================================
[16:55:42]                 The house system loaded succesfully!
[16:55:42] =============================================================

[16:55:42] [FACTIONS]: Name:None, ID:0, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:PD, ID:1, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:FBI, ID:2, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:NB, ID:3, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:Fire/Ambulance, ID:4, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:Cuneo, ID:5, Mats:49994, Drugs:9, Money:36001
[16:55:42] [FACTIONS]: Name:Corleone, ID:6, Mats:1, Drugs:0, Money:75798
[16:55:42] [FACTIONS]: Name:Mayor, ID:7, Mats:0, Drugs:0, Money:20000
[16:55:42] [FACTIONS]: Name:Hitman, ID:8, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:NewsReporter, ID:9, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:Taxi, ID:10, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:S.I., ID:11, Mats:0, Drugs:0, Money:0
[16:55:42] [FACTIONS]: Name:Barzini Family, ID:12, Mats:0, Drugs:0, Money:18000
[16:55:42] [FACTIONS]: Name:Tattaglia Family, ID:13, Mats:21000, Drugs:0, Money:72003
[16:55:42] [FACTIONS]: Name:Paterno Family, ID:14, Mats:5000001, Drugs:5000000, Money:27000
[16:55:42] [FACTIONS]: Name:Stracci, ID:15, Mats:2, Drugs:0, Money:18000
[16:55:42] GangZone:1 Owner:5 Hours Left: 3
[16:55:42] GangZone:2 Owner:5 Hours Left: 0
[16:55:42] GangZone:3 Owner:13 Hours Left: 0
[16:55:42] GangZone:4 Owner:15 Hours Left: 0
[16:55:42] GangZone:5 Owner:5 Hours Left: 0
[16:55:42] GangZone:6 Owner:12 Hours Left: 3
[16:55:42] GangZone:7 Owner:13 Hours Left: 0
[16:55:42] GangZone:8 Owner:14 Hours Left: 3
[16:55:42] GangZone:9 Owner:14 Hours Left: 0
[16:55:42] GangZone:10 Owner:15 Hours Left: 0
[16:55:42] GangZone:11 Owner:6 Hours Left: 0
[16:55:42] GangZone:12 Owner:5 Hours Left: 0
[16:55:42] GangZone:13 Owner:6 Hours Left: 0
[16:55:42] GangZone:14 Owner:6 Hours Left: 0
[16:55:42] GangZone:15 Owner:6 Hours Left: 0
[16:55:42] GangZone:16 Owner:12 Hours Left: 0
[16:55:42] GangZone:17 Owner:6 Hours Left: 0
[16:55:42] GangZone:18 Owner:13 Hours Left: 0
[16:55:42] BizzInfo:0 Owner:The State Message:Gun Shop Los Santos Entfee:1000 Till:-110100 Products:150/500 Interior:1.

[16:55:42] BizzInfo:1 Owner:The State Message:Gun Shop LV Entfee:0 Till:0 Products:100/500 Interior:4.

[16:55:42] BizzInfo:2 Owner:The State Message:Police Armoury Entfee:1 Till:1 Products:99/500 Interior:1.

[16:55:42] BizzInfo:3 Owner:The State Message:Restaurant Chilliad Entfee:1000 Till:10000 Products:490/500 Interior:6.

[16:55:42] BizzInfo:4 Owner:The State Message:Chilliad Spa Entfee:100 Till:601 Products:99994/100000 Interior:0.

[16:55:42] BizzInfo:5 Owner:The State Message:24/7 Benzinarie LS Entfee:1 Till:2 Products:99990/100000 Interior:17.

[16:55:42] BizzInfo:6 Owner:The State Message:24/7 Gara LS Entfee:0 Till:10000000 Products:98/100000 Interior:17.

[16:55:42] BizzInfo:7 Owner:The State Message:24/7 Entfee:2 Till:2500 Products:100000/100000 Interior:17.

[16:55:42] BizzInfo:8 Owner:The State Message:24/7 Vinewood LS Entfee:0 Till:0 Products:100000/100000 Interior:17.

[16:55:42] BizzInfo:9 Owner:The State Message:24/7 Benzinarie LS Entfee:0 Till:0 Products:10000/100000 Interior:17.

[16:55:42] BizzInfo:10 Owner:The State Message:24/7 Plaja LS Entfee:0 Till:0 Products:99999/100000 Interior:17.

[16:55:42] BizzInfo:11 Owner:The State Message:24/7 Grove Street Entfee:0 Till:0 Products:100000/100000 Interior:17.

[16:55:42] BizzInfo:12 Owner:The State Message:Sex Shop Entfee:0 Till:1 Products:100000/100000 Interior:3.

[16:55:42] BizzInfo:13 Owner:The State Message:Sex Shop 24/7 LS Entfee:0 Till:0 Products:99998/100000 Interior:3.

[16:55:42] BizzInfo:14 Owner:The State Message:Cluckin' Bell Grove Street Entfee:0 Till:0 Products:1000/100000 Interior:9.

[16:55:42] BizzInfo:15 Owner:The State Message:Cluckin' Bell T.C.C Entfee:0 Till:0 Products:99997/100000 Interior:9.

[16:55:42] BizzInfo:16 Owner:The State Message:Burger Shot Plaja LS Entfee:0 Till:0 Products:100000/100000 Interior:10.

[16:55:42] BizzInfo:17 Owner:The State Message:Burger Shot LS Entfee:0 Till:0 Products:99996/100000 Interior:10.

[16:55:42] BizzInfo:18 Owner:The State Message:Well Stacked Pizza P'N'S Entfee:0 Till:0 Products:99995/100000 Interior:5.

[16:55:42] BizzInfo:19 Owner:The State Message:24/7 Periferie Las Venturas Entfee:0 Till:0 Products:100000/100000 Interior:17.

[16:55:43] BizzInfo:20 Owner:The State Message:24/7 Sacra Corona LV Entfee:0 Till:0 Products:100000/100000 Interior:17.

[16:55:43] BizzInfo:21 Owner:The State Message:24/7 Burger Shot LV Entfee:0 Till:0 Products:100000/100000 Interior:17.

[16:55:43] BizzInfo:22 Owner:The State Message:24/7 Entfee:0 Till:1 Products:100000/100000 Interior:17.

[16:55:43] BizzInfo:23 Owner:The State Message:24/7 Entfee:0 Till:1 Products:99999/100000 Interior:17.

[16:55:43] BizzInfo:24 Owner:The State Message:24/7 Entfee:0 Till:1 Products:99996/100000 Interior:17.

[16:55:43] BizzInfo:25 Owner:The State Message:24/7 Entfee:0 Till:1 Products:100000/100000 Interior:17.

[16:55:43] BizzInfo:26 Owner:The State Message:Burger Shot 24/7 LV Entfee:0 Till:0 Products:99994/100000 Interior:10.

[16:55:43] BizzInfo:27 Owner:The State Message:Burger Shot Casino LV Entfee:0 Till:0 Products:99996/100000 Interior:10.

[16:55:43] BizzInfo:28 Owner:The State Message:Well Stacked Pizza Entfee:0 Till:0 Products:99996/100000 Interior:5.

[16:55:43] BizzInfo:29 Owner:The State Message:Cluckin' Bell Periferie LV Entfee:0 Till:0 Products:100000/100000 Interior:9.

[16:55:43] BizzInfo:30 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:31 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:32 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:33 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:34 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:35 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:36 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:37 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:38 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:39 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:40 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:41 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:42 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:43 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:44 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:45 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:46 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:47 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:48 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:49 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:50 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:51 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:52 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:53 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:54 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:55 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:56 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:57 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:58 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:59 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:60 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:61 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:62 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:63 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:64 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:65 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:66 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:67 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:68 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:69 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:70 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:71 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:72 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:73 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:74 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:75 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:76 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:77 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:78 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:79 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:80 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:81 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:82 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:83 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:84 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:85 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:86 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:87 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:88 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:89 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:90 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:91 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:92 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:93 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:94 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:95 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:96 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:97 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:98 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] BizzInfo:99 Owner:The State Message:Cluckin'Bell Sex Shop LV Entfee:0 Till:0 Products:99999/100000 Interior:9.

[16:55:43] SBizzInfo:0 Owner:The State Message:RentCar LS Entfee:1000 Till:0 Products:94/100 Interior:0.

[16:55:43] SBizzInfo:1 Owner:The State Message:~w~Rent Bike Entfee:0 Till:0 Products:96/100 Interior:0.

[16:55:43] SBizzInfo:2 Owner:The State Message:Phone CO. Entfee:50 Till:0 Products:100/100 Interior:0.

[16:55:43] SBizzInfo:3 Owner:The State Message:Gaso Company Entfee:20 Till:0 Products:100/100 Interior:0.

[16:55:43] SBizzInfo:4 Owner:The State Message:~w~Electricity Company Entfee:50 Till:49701 Products:100000/100 Interior:0.

[16:55:43] SBizzInfo:5 Owner:The State Message:Blocul Pershing Square Entfee:500 Till:9525 Products:100/100 Interior:0.

[16:55:43] SBizzInfo:6 Owner:The State Message:~w~House Upgrade Entfee:0 Till:1 Products:100/100 Interior:0.

[16:55:43] SBizzInfo:7 Owner:The State Message:CNN Los Santos Entfee:35 Till:245 Products:10/100 Interior:0.

[16:55:43] SBizzInfo:8 Owner:The State Message:CNN LAS VENTURAS  Entfee:25 Till:0 Products:100000/100 Interior:0.

[16:55:43] SBizzInfo:9 Owner:The State Message:~w~General Store Entfee:0 Till:0 Products:100/100 Interior:0.

[16:55:43] SBizzInfo:10 Owner:The State Message:~w~Paintball Arena Entfee:0 Till:1 Products:92/100 Interior:0.

[16:55:43] SBizzInfo:11 Owner:The State Message:~w~Kart Track Entfee:0 Till:0 Products:89/100 Interior:0.

[16:55:43] SBizzInfo:12 Owner:The State Message:~w~RentCar LV Entfee:0 Till:0 Products:88/100 Interior:0.

[16:55:43] SBizzInfo:13 Owner:The State Message:RentCar SF Entfee:1000 Till:32000 Products:97/100 Interior:0.

[16:55:43] SBizzInfo:14 Owner:The State Message:Going Company Entfee:20 Till:0 Products:98/100 Interior:0.

[16:55:43] SBizzInfo:15 Owner:The State Message:Xommer Company Entfee:20 Till:0 Products:98/100 Interior:0.

[16:55:43]  Current Pickups = 145
[16:55:43] 1 cars created!
[16:55:43] GM LOADED
[16:55:43] Number of vehicle models: 115
[16:55:59] Incoming connection: 127.0.0.1:63088
[16:55:59] [join] sEALAND has joined the server (0:127.0.0.1)
[16:56:07] sEALAND has logged in.
[16:56:07] [debug] Run time error 4: "Array index out of bounds"
[16:56:07] [debug]  Accessing element at index 18 past array upper bound 17
[16:56:07] [debug] AMX backtrace:
[16:56:07] [debug] #0 000475e4 in public OnPlayerSpawn () from GameMode.amx


Asta este problema   :mellow:

 

[16:56:07] [debug] Run time error 4: "Array index out of bounds"

[16:56:07] [debug]Accessing element at index 18 past array upper bound 17

[16:56:07] [debug] AMX backtrace:

[16:56:07] [debug] #0 000475e4 in public OnPlayerSpawn () from GameMode.amx

Edited by Sealand123
Link to comment
Share on other sites

  • 0

public OnPlayerSpawn(playerid)
{
    Codel[playerid] = 0;
    StopAudioStreamForPlayer(playerid);
    aprobat[playerid] = 0;
    Vestiar[playerid] = 0;
    onjob[playerid] = 0;
    menustyle[playerid] = 0;
    teste[playerid] = 0;
    sweeep[playerid] = 0;
    Injourney[playerid] = 0;
    instart[playerid] = 0;
    Specing[playerid] = 0;
    if(TakingLesson[playerid] == 1)
    {
        teste[playerid] = 0;
        TakingLesson[playerid] = 0;
        DisablePlayerRaceCheckpoint(playerid);
        CP[playerid] = 0;
    }
      if(HireCar[playerid] != 255)
    {
        SetVehicleToRespawn(HireCar[playerid]);
        UnLockCar(HireCar[playerid]);
        HireCar[playerid] = 255;
    }
    if(Specing[playerid] == 1)
    {
        SetPlayerInterior(playerid,interior[playerid]);
        SetPlayerVirtualWorld(playerid,virtualworld[playerid]);
        SetPlayerPos(playerid,SpecPosx[playerid] ,SpecPosy[playerid] ,SpecPosz[playerid]);
        Specing[playerid] = 0;
//        return 1;
    }
    if(Specing[playerid] == 2)
    {
        SetPlayerPos(playerid,SpecPosxx[playerid] ,SpecPosyy[playerid] ,SpecPoszz[playerid]);
        Specing[playerid] = 0;
//        return 1;
    }

    FirstSpawn[playerid] = 0;
    TextDrawHideForPlayer(playerid, Textdraw69[playerid]);
    TextDrawHideForPlayer(playerid, Textdraw40[playerid]);
    Fails[playerid] = 0;
    PlayerKarting[playerid] = 0;
    SetTimerEx("GiveWeapons", 500, false, "i", playerid);
    //SendClientMessage(playerid, COLOR_WHITE, "Debug1");
    SetPlayerFightingStyle(playerid, PlayerInfo[playerid][pBoxFightStyle]);

    if(gangshow[playerid] == 1)
    {
         GangZoneShowForPlayer(playerid, Gang, GetTeamZoneColor(ZoneInfo[0][4]));//16
         GangZoneShowForPlayer(playerid, Gang2, GetTeamZoneColor(ZoneInfo[1][4]));//15
         GangZoneShowForPlayer(playerid, Gang3, GetTeamZoneColor(ZoneInfo[2][4]));//1

        for(new i=0; i<19; i++)
        {
            GangZoneShowForPlayer(playerid, Gangzone, GetTeamZoneColor(GangInfo[gFaction]));
         }
    }

    //SetPlayerWeapons(playerid);
    InitLockDoors(playerid);
    STDPlayer[playerid] = 0;

    gTeam[playerid] = PlayerInfo[playerid][pTeam]; //Set the Team
    if (gTeam[playerid] == 4) //medic / criminal reset team
    {
        gTeam[playerid] = 3;
    }
    if(gPlayerLogged[playerid] == 0)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "**    Acest server cere logarea inaintea corectarii!   (Ai fost deconectat) **");
        KickPlayer[playerid] = 1;
     }
    if(PlayerInfo[playerid][pModel] > 0)
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    else
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    //SetPlayerWeapons(playerid);
    SetPlayerToTeamColor(playerid);
    PlayerFixRadio(playerid);
    //SetPlayerWeapons(playerid);
     /*if(Train[playerid] == 1)//////////////////////////////////////////////////////////////////////
    {
            if(PlayerInfo[playerid][pMember] > 0)
            {
                 SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);
                   SetPlayerInterior(playerid, 10);
                   SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pMember]);
                   ResetPlayerWeaponsEx(playerid);
                   ServerWeapon(playerid, 24, 99999);
                   ServerWeapon(playerid, 31, 99999);
                   ServerWeapon(playerid, 5, 1);
                   ServerWeapon(playerid, 1, 1);
                   ServerWeapon(playerid, 25, 99999);
                   ServerWeapon(playerid, 34, 99999);
                   return 1;
               }
               else if(PlayerInfo[playerid][pLeader] > 0)
            {
                 SetPlayerPos(playerid, -975.975708,1060.983032,1345.671875);
                   SetPlayerInterior(playerid, 10);
                   SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pLeader]);
                   ResetPlayerWeaponsEx(playerid);
                   ServerWeapon(playerid, 24, 99999);
                   ServerWeapon(playerid, 31, 99999);
                   ServerWeapon(playerid, 5, 1);
                   ServerWeapon(playerid, 1, 1);
                   ServerWeapon(playerid, 25, 99999);
                   ServerWeapon(playerid, 34, 99999);
                   return 1;
               }
    }////////////////////////////////////////////////////////////////////////////////////
    // SPAWNS!*/
    if(gPlayerLogged[playerid] != 0)//inceputtutorial
    {
        if(PlayerInfo[playerid][pTut] == 0)
        {
            //SendClientMessage(playerid, COLOR_WHITE, "Debug4");
            SetPlayerSkin(playerid, 29);
            PlayerInfo[playerid][pModel] = 29;
            Update(playerid, pModelx);
            SetPlayerTime(playerid, 24, 0);
            InterpolateCameraPos(playerid, 1119.2964, -2035.0903, 172.1638, 1449.8196, -1781.2830, 121.5285, 13000, CAMERA_MOVE);//
            InterpolateCameraLookAt(playerid, 999.3984, -1873.4063, 10.1797, 1480.6094, -1666.1797, 22.2578, 8000, CAMERA_MOVE);//
            SetPlayerPos(playerid, 1437.6957,-2266.6355,13.5469);
            gOoc[playerid] = 1; gNews[playerid] = 0; gFam[playerid] = 1;
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid, (playerid + 1));
            SetPlayerHealth(playerid, 100.0);
            TogglePlayerControllable(playerid, 0);
            PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);//
               ShowPlayerDialog(playerid,418,DIALOG_STYLE_MSGBOX,"Termeni si Conditii","Trebuie sa respecti regulile server-ului pentru a juca aici.nIn caz contrar vei fi deconectat automat.","Ok", "Deconectare");
            return 1;
        }
        if(PlayerInfo[playerid][pJailed] == 1)
        {
            SetPlayerWantedLevel(playerid, 0);
            SetPlayerInterior(playerid, 0);
            PlayerInfo[playerid][pInt] = 0;
            SetPlayerVirtualWorld(playerid, 1);
            new randn = random(sizeof(gRandomPlayerSpawns));
            SetPlayerPos(playerid, gRandomPlayerSpawns[randn][0], gRandomPlayerSpawns[randn][1], gRandomPlayerSpawns[randn][2]);
            TogglePlayerControllable(playerid, 0);
            SetTimerEx("SetControllable", 5000, 0, "i", playerid);
            SendClientMessage(playerid, COLOR_LIGHTRED, "Nu ti-ai terminat sentinta!");
            //UndercoveredW[playerid] = 0;
            return 1;
        }
        if(PlayerInfo[playerid][pJailed] == 2)
        {
            SetPlayerInterior(playerid, 0);
            SetPlayerPos(playerid,268.5777,1857.9351,9.8133);
            SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //285.3481,96.9720,1940.9755,1799.0811
            return 1;
        }


/*
        if(HasDied[playerid] != 0)///////////////////////
        {
            HasDied[playerid] = 0;
            if(GetPlayerCash(playerid) >= 100)
            {
                SendClientMessage(playerid, COLOR_WHITE, "{1580EA}Medical Bill: {a9c4e4}Your medical bill comes to {1580EA}$100{a9c4e4}.");
                GivePlayerCash(playerid, -100);
            }
            else
            {
                SendClientMessage(playerid, COLOR_WHITE, "{1580EA}Medical Bill: {a9c4e4}Your medical bill was payed by the {1580EA}state{a9c4e4}. Be careful next time.");
                GivePlayerCash(playerid, -100);
            }
            SetPlayerPos(playerid, 1183.8663,-1324.1689,13.5760);
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid, 0);
            DynamicFactions[4][fBank] += 100;
               SaveDynamicFactions();
            //Tax += 100;
            return 1;
        }
        
        if(PlayerInfo[playerid][pPos_x] != 0.0)
        {
            new sInt, sW;
            sInt = PlayerInfo[playerid][pPos_int];
            sW = PlayerInfo[playerid][pPos_w];
            
            SetPlayerPos(playerid, PlayerInfo[playerid][pPos_x], PlayerInfo[playerid][pPos_y], PlayerInfo[playerid][pPos_z]);
            SetPlayerInterior(playerid, sInt);
            SetPlayerVirtualWorld(playerid, sW);
            return 1;
        }
        else
        {
            SetPlayerPos(playerid, 1382.2604, -1622.6512, 14.2860);
            SetPlayerInterior(playerid, 0);
            SetPlayerVirtualWorld(playerid, 0);
        }
            

        if(SpawnChange[playerid] != 0)///////////////////////////////////////////////////
        {
            //SendClientMessage(playerid, COLOR_WHITE, "Debug4");
            if(PlayerInfo[playerid][pJailed] < 1)
            {
                new sendernamen[MAX_PLAYER_NAME];
                GetPlayerName(playerid, sendernamen, sizeof(sendernamen));
                if(strfind(HouseInfo[SpawnChange[playerid]][hOwner], sendernamen, true) != -1)
                {
                    SetPlayerPos(playerid, HouseInfo[SpawnChange[playerid]][hPosX1], HouseInfo[SpawnChange[playerid]][hPosY1], HouseInfo[SpawnChange[playerid]][hPosZ1]);
                    SetPlayerInterior(playerid, HouseInfo[SpawnChange[playerid]][hInt]);
                    SetPlayerVirtualWorld(playerid, SpawnChange[playerid]);
                    //SetPlayerWeapons(playerid);
                    return 1;
                }
                if(PlayerInfo[playerid][pPhousekey] != 255)
                {
                    new houserent = PlayerInfo[playerid][pPhousekey];
                    SetPlayerPos(playerid, HouseInfo[houserent][hPosX1], HouseInfo[houserent][hPosY1], HouseInfo[houserent][hPosZ1]);
                    SetPlayerInterior(playerid, HouseInfo[houserent][hInt]);
                    SetPlayerVirtualWorld(playerid, houserent);
                    //SetPlayerWeapons(playerid);
                    return 1;
                }
                else SpawnChange[playerid] = 0;
            }
        }*/
        // spawnare selectspawn
        if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//Police Force spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid,1545.3109,-1675.4377,13.5601); // Warp the player
                SetPlayerFacingAngle(playerid, 270.0);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2)//FBI spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
               else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid, 3009.1963,-1073.9287,13.2429);
                SetPlayerFacingAngle(playerid, 270.0);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 3|| PlayerInfo[playerid][pLeader] == 3)//National Guard spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerPos(playerid,268.6282,2085.0591,17.6406);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
        }
        else if (PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)//Fire/Ambulance spawn
        {
               if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid, -687.8197,950.0492,12.1475);
                ServerWeapon(playerid, 42, 99999);
                SetPlayerFacingAngle(playerid, 87.2891);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)//Dallas spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid,  1880.9835,2339.4478,10.9799);
                   SetPlayerInterior(playerid, 0);
                SetPlayerFacingAngle(playerid, 352.3437);
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)//Falcone Spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,  -2461.2993,134.2299,35.1719);
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7)//parlamentadssda Spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid, 0);
                SetPlayerPos(playerid,  2387.5208,2465.8486,10.8203);
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) //Hitman spawn
        {
             if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid, -2624.0859,1409.6852,7.0938);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid,0);
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
            }
        }
        else if (PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) //News Reporter spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid,  1786.5261,-1298.7737,13.3750);
                SetPlayerFacingAngle(playerid, 182.6800);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) //Taxi Cab Company spawn
        {
               if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                 SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid, -1969.3456,159.8245,27.6875);
                SetPlayerInterior(playerid,0);
                SetPlayerFacingAngle(playerid, 180);
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
            }
        }
        else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) //Driving/Flying School spawn
        {
               if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerPos(playerid, -1529.1654,414.9388,7.1875);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerFacingAngle(playerid, 4.6505);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            return 1;
        }
        else if (PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)//Bonanno spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,-2757.7542,375.9356,4.3338);
                SetPlayerVirtualWorld(playerid, 0);
                PlayerInfo[playerid][pInt] = 0;
            }
        }
        else if (PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)//Orleans spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,1451.2939,750.9302,11.0234);
                SetPlayerVirtualWorld(playerid, 0);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)//15 Avenue Families Spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,-2666.7856,-2.0671,6.1328);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//Sacra Corona Unita
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
            else
            {
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,2495.2449,-1687.1665,13.5150);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)//Tow Car Company Spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
               else
            {
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid, 686.4142,-1270.1938,13.5570);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
            }
        }
        else if (PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)//Tow Car Company Spawn
        {
            if(FirstSpawn[playerid] == 1)
            {
                SetPlayerPos(playerid, 1380.6145,-1622.5403,14.0530);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                SetPlayerInterior(playerid,0);
                PlayerInfo[playerid][pInt] = 0;
            }
               else
            {
                SetPlayerInterior(playerid,0);
                SetPlayerPos(playerid,3009.0962,-1115.4498,13.2429);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerToTeamColor(playerid);
                PlayerInfo[playerid][pInt] = 0;
            }
        }
        else
        {
            SetPlayerToTeamColor(playerid);
               SetPlayerPos(playerid,1382.2604, -1622.6512, 14.2860);
            SetPlayerFacingAngle(playerid, 178.7956);
            SetPlayerInterior(playerid,0);
            PlayerInfo[playerid][pInt] = 0;
        }
          if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)
        {
            MedicBill[playerid] = 0;
            MedicTime[playerid] = 0;
            NeedMedicTime[playerid] = 0;
            PlayerInfo[playerid][pDeaths] += 1;
            Update(playerid, pDeathsx);
            SetPlayerHealth(playerid, 100.0);
        }
        SetPlayerSpawn(playerid);
        SetTimerEx("UpdateSecondary", 3000, false, "i", playerid);
    }
    return 1;
}

Link to comment
Share on other sites

  • 0

Am sters onplayerspawn si onplayerdeath(acestea dadeau run time error)

si am lasat doar setplayerpos return 1; la onplayerspawn

si la onplayerdeath doar return 1;

Adica nu am scris nimic la ele, nu mai da run time eror pe localhost, iar cand il pun pe host tot nu merge. :mellow:

 

 

EDIT:  Am gasit asta in server.log


0:33:44] [debug] Server crashed while executing GameMode.amx
[20:33:44] [debug] AMX backtrace:
[20:33:44] [debug] #0 native fwrite () from samp03svr
[20:33:44] [debug] #1 00045e74 in public LoginQuit (18661444) from GameMode.amx
[20:33:44] [debug] #2 00038408 in public Streamer_OnPlayerConnect (0) from GameMode.amx
[20:33:44] [debug] #3 native CallLocalFunction () from samp03svr
[20:33:44] [debug] #4 00000f5c in public OnPlayerConnect (0) from GameMode.amx
[20:33:44] [debug] Native backtrace:
[20:33:44] [debug] #0 f6bb2e8b in _ZN10StackTraceC1EPv () from plugins/crashdetect.so
[20:33:44] [debug] #1 f6babbcf in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[20:33:44] [debug] #2 f6bacdbc in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[20:33:44] [debug] #3 f6bad226 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[20:33:44] [debug] #4 f6bb2adc in ?? () from plugins/crashdetect.so
[20:33:44] [debug] #5 f7799410 in ?? ()
[20:33:44] [debug] #6 f7799430 in ?? ()
[20:33:44] [debug] #7 f7502661 in gsignal () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:33:44] [debug] #8 f7505a92 in abort () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:33:44] [debug] #9 f74fb878 in __assert_fail () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:33:44] [debug] #10 0809a90c in ?? () from samp03svr
[20:33:44] [debug] #11 0809ad6f in ?? () from samp03svr
[20:33:44] [debug] #12 08094054 in ?? () from samp03svr
[20:33:44] [debug] #13 f6bae94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[20:33:44] [debug] #14 f6bb18f8 in ?? () from plugins/crashdetect.so
[20:33:44] [debug] #15 f6bb5916 in amx_Exec () from plugins/crashdetect.so
[20:33:44] [debug] #16 f6badbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[20:33:44] [debug] #17 f6bb1659 in ?? () from plugins/crashdetect.so
[20:33:44] [debug] #18 080dd0e2 in ?? () from samp03svr
[20:33:44] [debug] #19 08094054 in ?? () from samp03svr
[20:33:44] [debug] #20 f6bae94b in _ZN11CrashDetect13DoAmxCallbackEiPiS0_ () from plugins/crashdetect.so
[20:33:44] [debug] #21 f6bb18f8 in ?? () from plugins/crashdetect.so
[20:33:44] [debug] #22 f6bb5916 in amx_Exec () from plugins/crashdetect.so
[20:33:44] [debug] #23 f6badbe6 in _ZN11CrashDetect9DoAmxExecEPii () from plugins/crashdetect.so
[20:33:44] [debug] #24 f6bb1659 in ?? () from plugins/crashdetect.so
[20:33:44] [debug] #25 080a3ce9 in ?? () from samp03svr
[20:33:44] [debug] #26 080ce7df in ?? () from samp03svr
[20:33:44] [debug] #27 080b35e1 in ?? () from samp03svr
[20:33:44] [debug] #28 08071b38 in ?? () from samp03svr
[20:33:44] [debug] #29 08071c32 in ?? () from samp03svr
[20:33:44] [debug] #30 0807bb80 in ?? () from samp03svr
[20:33:44] [debug] #31 080ad3bd in ?? () from samp03svr
[20:33:44] [debug] #32 080ad562 in ?? () from samp03svr
[20:33:44] [debug] #33 080a88ce in ?? () from samp03svr
[20:33:44] [debug] #34 f74eee46 in __libc_start_main () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
[20:33:44] [debug] #35 0804b4d1 in ?? () from samp03svr
Edited by Sealand123
Link to comment
Share on other sites

  • 0

Da am adaugat, si acum, cand ma conectez merge dar cand scriu orice comanda se da restart la server

Si am gasit problema este de la Allcomandlog, adica la

onplayercommandtext am pus sa se faca log pentru orice comanda, si am comentat functia si nu se mai inchide serverul ce sa fac sa nu se mai inchida si sa pun si functia?

Edited by Sealand123
  • Upvote 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.