zdupx
Membru-
Posts
66 -
Joined
-
Last visited
Never
About zdupx
- Birthday 03/28/1998
zdupx's Achievements
-
Interesant , pare foarte orginal .
-
[pawn] else if(classidi[playerid] == 102) { if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) { if(PlayerInfo[playerid][pRank] == 1) { PlayerInfo[playerid][pChar] = 144; SetPlayerSpawnInfo(playerid); GameTextForPlayer(playerid," ",1,1); } else { format(string, sizeof(string), "~r~ Chose other skin ! You are member rank %d", PlayerInfo[playerid][pRank]); GameTextForPlayer(playerid,string,3500,1); return 0; } } else { format(string, sizeof(string), "~r~ Chose other skin ! You are %s", ttext); GameTextForPlayer(playerid,string,3500,1); return 0; } }[/pawn] E bon :> ?
-
Salut. Tu esti pe MySql presupun cu gamemode RedMaxz , intra in pwn si trecel pe <dini>. ]Daca nu cere de la host data de baza si intra in pwn si trece la mysql baze account-u din GM.
-
Salut. Am adaugat in GM comanda /veh if(strcmp(cmdtext, "/veh", true) == 0) { new tmp[256], idx, Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { return SendClientMessage(playerid, 0xFFFFFFFF, "Sintaxa: /veh <id>"); } new idcar = strval(tmp); if(idcar >= 400 && idcar <= 611) {} else return SendClientMessage(playerid, 0xFFFFFFFF, "Masinile sunt intre 400-611!"); new created = CreateVehicle(idcar, X, Y, Z, 90.0, 0, 0, 0); PutPlayerInVehicle(playerid, created, 0); SendClientMessage(playerid, 0xFFFFFFFF, "Succes!"); return 1; } si de unde am luat CMD zice sa pun la sfarsit si strtok asta strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; } Si la complie imi da errorile astea C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62496) : warning 208: function with tag result used before definition, forcing reparse C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(137) : warning 201: redefinition of constant/macro (symbol "DIALOG_STYLE_PASSWORD") C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(141) : error 010: invalid function or declaration C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(17468) : warning 219: local variable "PlayerName" shadows a variable at a preceding level C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(21161) : warning 219: local variable "tmp" shadows a variable at a preceding level C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(21161) : warning 219: local variable "idx" shadows a variable at a preceding level C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(21168) : warning 219: local variable "idcar" shadows a variable at a preceding level C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62506) : error 021: symbol already defined: "strtok" C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62523) : warning 203: symbol is never used: "CreatedCar" C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62523) : warning 203: symbol is never used: "ad" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
-
Salut , am adaugat niste obiecte pe GM-u meu si cand intru in joc apar foarte greu , si cand ma misc uneori apar , uneori dispar. E de la plugins?
-
C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(135) : warning 201: redefinition of constant/macro (symbol "DIALOG_STYLE_PASSWORD") C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(17246) : warning 219: local variable "PlayerName" shadows a variable at a preceding level C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62133) : error 017: undefined symbol "GetPointDistanceToPointExMorph" C:\Documents and Settings\Owner\Desktop\CS\gamemodes\CS.pwn(62160) : warning 203: symbol is never used: "ad" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Deci ?
-
Salut. Recent , un amic de a unui prieten ia dat un GameMode , pe care lucrase el mai de mult si al ajutasem si eu , il lam cerut , dar nea dat doar amx. Am auzit ca merge decriptat in pwn..
-
GameMode in care se salveaza useri in baza de date.
zdupx replied to zdupx's question in Arhivă probleme
da -
GameMode in care se salveaza useri in baza de date.
zdupx replied to zdupx's question in Arhivă probleme
mysql -
Deci dupa cum se vede titlul , cum pot schimba , fara sa salveze in baza de date ci in folder "user".
-
Nu citeste gm-u cand al urc pe host. Totul ramane ca inainte . Dau restart si nimic. Vreau sa precizez ca am cumparat fara data de baza. echo Executing Server Config... lanmode 0 rcon_password tastaturatranspirata maxplayers 50 bind 193.84.64.60 port 7777 hostname Games-Ro: RPG Server gamemode0 Games-Ro 1 filterscripts anims LSSS DropGun_death minievents radio anti-flood Engine R_Speedov2 plugins streamer.so sscanf.so mysql.so announce 0 query 1 weburl www.Games-Ro.com onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3x, (C)2005-2013 SA-MP Team [16:09:34] password = "" (string) [16:09:34] plugins = "" (string) [16:09:34] [16:09:34] Server Plugins [16:09:34] -------------- [16:09:34] Loaded 0 plugins. [16:09:35] [16:09:35] Filterscripts [16:09:35] --------------- [16:09:35] Loading filterscript 'base.amx'... [16:09:35] --Base FS loaded. [16:09:35] Loading filterscript 'gl_actions.amx'... [16:09:35] Loading filterscript 'gl_property.amx'... [16:09:35] ----------------------------------- [16:09:35] Grand Larceny Property Filterscript [16:09:35] ----------------------------------- [16:09:35] Loading filterscript 'gl_realtime.amx'... [16:09:35] Loaded 4 filterscripts. [16:09:35] Loaded 3 vehicles from: vehicles/trains.txt [16:09:35] Loaded 3 vehicles from: vehicles/pilots.txt [16:09:35] Loaded 15 vehicles from: vehicles/lv_law.txt [16:09:35] Loaded 39 vehicles from: vehicles/lv_airport.txt [16:09:35] Loaded 255 vehicles from: vehicles/lv_gen.txt [16:09:35] Loaded 38 vehicles from: vehicles/sf_law.txt [16:09:35] Loaded 35 vehicles from: vehicles/sf_airport.txt [16:09:35] Loaded 353 vehicles from: vehicles/sf_gen.txt [16:09:35] Loaded 24 vehicles from: vehicles/ls_law.txt [16:09:35] Loaded 37 vehicles from: vehicles/ls_airport.txt [16:09:35] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt [16:09:35] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt [16:09:35] Loaded 71 vehicles from: vehicles/whetstone.txt [16:09:35] Loaded 168 vehicles from: vehicles/bone.txt [16:09:35] Loaded 61 vehicles from: vehicles/flint.txt [16:09:35] Loaded 96 vehicles from: vehicles/tierra.txt [16:09:35] Loaded 96 vehicles from: vehicles/red_county.txt [16:09:35] Total vehicles from files: 1781 [16:09:35] Reading File: blank [16:09:35] Reading File: properties/houses.txt [16:09:35] Reading File: properties/businesses.txt [16:09:35] Reading File: properties/banks.txt [16:09:35] Reading File: properties/police.txt [16:09:35] --------------------------------------- [16:09:35] Running Grand Larceny - by the SA-MP team [16:09:35] --------------------------------------- [16:09:35] Number of vehicle models: 173 [16:09:40] Incoming connection: 78.97.240.86:57963 [16:09:54] Incoming connection: 79.112.192.133:61614 [16:10:17] Incoming connection: 78.97.240.86:53061 [16:10:17] [join] AGN(BOSS) has joined the server (0:78.97.240.86) [16:11:39] Incoming connection: 79.112.192.133:63335 [16:11:39] [join] EvoLyO has joined the server (1:79.112.192.133) [16:12:31] [chat] [EvoLyO]: ba sa vedeti co sa dea restart din nou la srv [16:12:37] [chat] [AGN(BOSS)]: STIU [16:13:21] [chat] [AGN(BOSS)]: ho [16:13:30] [chat] [AGN(BOSS)]: shii [16:13:33] [chat] [EvoLyO]: urci ? [16:13:37] [chat] [AGN(BOSS)]: stai [16:13:52] [chat] [AGN(BOSS)]: hai cu masina [16:14:05] [chat] [AGN(BOSS)]: vin dupe tine [16:15:58] Incoming connection: 79.117.50.117:61229 [16:15:58] [join] eecila42 has joined the server (2:79.117.50.117) [16:16:05] [chat] [eecila42]: hey [16:16:08] [chat] [eecila42]: carei owneru [16:16:15] [chat] [EvoLyO]: e bulit srv [16:16:20] [chat] [AGN(BOSS)]: nu are gm sv [16:16:31] [chat] [eecila42]: zi carei owneru am oferte [16:16:32] [chat] [EvoLyO]: mai pe intelesu tau [16:16:39] [chat] [AGN(BOSS)]: nu e on [16:16:44] [chat] [EvoLyO]: bag pula taci din gura [16:17:02] [chat] [eecila42]: careva care are sv samp/cs [16:17:03] [chat] [eecila42]: careva care are sv samp/cs [16:17:10] [chat] [AGN(BOSS)]: eu am sv de samp [16:17:18] [chat] [AGN(BOSS)]: dar nam playeri [16:17:32] [chat] [eecila42]: nui bai [16:17:40] [chat] [eecila42]: il facem noi populat e hostat macatr [16:17:42] [chat] [eecila42]: il facem noi populat e hostat macar [16:17:43] [chat] [AGN(BOSS)]: da [16:17:49] [chat] [eecila42]: da id de mes [16:18:01] [chat] [AGN(BOSS)]: mihaimihai616 [16:18:59] [part] AGN(BOSS) has left the server (0:1)
-
[pawn]//============================================================================================================================================================= // = Comanda: /gotols //============================================================================================================================================================= if(strcmp(cmd, "/gotols", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 2) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1529.6,-1691.2,13.3); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 1529.6,-1691.2,13.3); } SendClientMessage(playerid, COLOR_GRAD1, "{30a030}[infinity]: {ffd700}Ai fost Teleportat cu succes."); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, "{30a030}[infinity]: {FFFFFF}Ne pare rau, dar nu ai acces la aceasta comanda."); } } return 1; }[/pawn]
-
SOLVED. Aveam BINDIP , dar trebuia sa pun doar BIND .
-
Salut. Am urcat serverul pe host , si cand dau sa intru in joc nu ma conecteaza. echo Executing Server Config... lanmode 0 rcon_password censored maxplayers 50 bindip 89.33.242.230 port 7777 hostname Infinity: RPG Server gamemode0 Infinity 1 filterscripts anims LSSS DropGun_death minievents radio anti-flood Engine R_Speedov2 Sistem_Poarta plugins streamer.so sscanf.so mysql.so announce 0 query 1 weburl www.Infinity.ro onfoot_rate 40 incar_rate 40 weapon_rate 40 stream_distance 300.0 stream_rate 1000 maxnpc 0 logtimeformat [%H:%M:%S] si log-u ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3d-R2, (C)2005-2011 SA-MP Team [13:28:06] filterscripts = "" (string) [13:28:06] [13:28:06] Server Plugins [13:28:06] -------------- [13:28:06] Loaded 0 plugins. [13:28:07] I couldn't load any gamemode scripts. Please verify your server.cfg [13:28:07] It needs a gamemode0 line at the very least. ---------- Loaded log file: "server_log.txt". ---------- SA-MP Dedicated Server ---------------------- v0.3d-R2, (C)2005-2011 SA-MP Team [13:28:18] filterscripts = "" (string) [13:28:18] [13:28:18] Server Plugins [13:28:18] -------------- [13:28:18] Loaded 0 plugins. [13:28:18] [13:28:18] Filterscripts [13:28:18] --------------- [13:28:18] Loaded 0 filterscripts. [13:28:18] HouseInfo:0 Owner:The State hTakings 2045 hVec 418 [13:28:18] HouseInfo:1 Owner:The State hTakings 0 hVec 418 [13:28:18] HouseInfo:2 Owner:The State hTakings 21600 hVec 418 [13:28:18] HouseInfo:3 Owner:The State hTakings 0 hVec 418 [13:28:18] HouseInfo:4 Owner:The State hTakings 3400 hVec 418 [13:28:18] HouseInfo:5 Owner:The State hTakings 77256 hVec 418 [13:28:18] HouseInfo:6 Owner:The State hTakings 0 hVec 418 [13:28:18] HouseInfo:7 Owner:The State hTakings 19077 h