-
Posts
165 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
News
Documentation
Everything posted by ImTouchk
-
Problema intalnita (descriere): imi da eroare la y_iniEro(area / rile) / warning-(ul / urile): C:\Users\mugur\Desktop\Scripting gamemode\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc(539) : warning 219: local variable "time" shadows a variable at a preceding level C:\Users\mugur\Desktop\Scripting gamemode\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Coding\y_va/impl.inc(544) : warning 219: local variable "time" shadows a variable at a preceding level Liniile de cod / sursa / script-ul(obligatoriu): 544 TextDrawColor(TD_iPhone[8], 255); 539 (nu exista nimic pe linie, este intre textdraw-uri)Imagini / Video (optional): /Ati incercat sa rezolvati singur?: da
-
Felicitari!
-
Problema intalnita (descriere):Primest warning-urile TAG MISMATCH si NUMBER OF ARGUMENTS DOES NOT MATCH THE DEFINITIONS.Ero(area / rile) / warning-(ul / urile): C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1395) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1406) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2296) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3939) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3940) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3941) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3942) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 13 Warnings. Liniile de cod / sursa / script-ul(obligatoriu): 1394 GetPlayerPos( playerid, PlayerInfo[playerid][PosX], PlayerInfo[playerid][PosY], PlayerInfo[playerid][PosZ] ); 1395 GetPlayerFacingAngle( playerid, PlayerInfo[playerid][Angle] ); 1406 INI_WriteInt(File,"Rank",PlayerInfo[playerid][fRank]); Codul de mai jos care nu merge cum trebuie cand il folosesti: CMD:mdc(playerid, params[]) { new targetid; new targetn[MAX_PLAYER_NAME]; new playern[MAX_PLAYER_NAME]; new str[800]; GetPlayerName(targetid, targetn, MAX_PLAYER_NAME); GetPlayerName(playerid, playern, MAX_PLAYER_NAME); if(PlayerInfo[playerid][pFaction] != 1) return SendClientMessage(playerid, -1, "Nu esti politist."); if(sscanf(params,"u",targetid)) return SendClientMessage(playerid, COLOR_PURPLE, "!{FFFFFF}: /mdc [playerid]"); if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_PURPLE, "!{FFFFFF}: Nu se poate identifica numele dat! (( ID Invalid ))"); format(str, sizeof(str), "> Mobile Computer Data..."); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> (( Date id %d ))", targetid); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> CNP: %d", PlayerInfo[targetid][pCNP]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> Bani in cont bancar: %d", PlayerInfo[targetid][pBank]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> Arestat: %d", PlayerInfo[targetid][pJailed]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> In urmarire: %d", PlayerInfo[targetid][pSearched]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> Casa detinuta: %d", PlayerInfo[targetid][pHouse]); SendClientMessage(playerid, -1, str); 2215 format(str, sizeof(str), "> Coordonatele actuale: %d", GetPlayerPos(targetid)); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> Telefon detinut: %d", PhoneInfo[targetid][pOwned]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "> Numar de telefon: %d", PhoneInfo[targetid][pNumber]); SendClientMessage(playerid, -1, str); format(str, sizeof(str), "%s deschide computerul portabil.", playern); ProxDetector(50.00, playerid,str,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE); return 1; } 3939 - 3942 INI_Float( "PositionX", PlayerInfo[playerid][PosX]); INI_Float( "PositionY", PlayerInfo[playerid][PosY]); INI_Float( "PositionZ", PlayerInfo[playerid][PosZ]); INI_Float( "Angle", PlayerInfo[playerid][Angle]);Imagini / Video (optional):Ati incercat sa rezolvati singur?: Da. Nu gasesc nimic care sa fie pentru warning, mai ales in format. Il folosesc mai peste tot si numai aici primesc warning-uri. Daca mai sunt linii ce nu le-am dat, inseamna ca nu mai am nevoie de ajutor la ele.
-
Logic, el si-a scos banii si nu-i mai pasa daca e pe net, el doar si-a facut banetul si acum ca-i pe net e si mai bine.
-
Pot crea forumuri cu platforme ipb IPB Nulled poate sa puna oricine pe un forum hostinger. pot rezolva, repara si chiar crea sisteme/comenzi. Atat?... Un developer are nevoie de persoane in 3RD PARTY TEAM persoane ce fac si sisteme, pot si eu sa fac o comanda gen /help... Nu prea recomand daca vreti sa va faceti o comunitate si nu aveti un gamemode stabil.
-
Multumesc. Se joaca si lume pe roleplay, daca nu o sa am succes aici o sa mut proiectul pe plan international
-
Este o varianta ALPHA, nu am terminat totul.
-
sunt niste greseli in materie de roleplay
-
Caut Scripter pentru un proiect!
ImTouchk replied to Aidan_Smith's topic in Caut servicii / partener / etc.
Nu este om serios. Nu recomand -
este destul de bun.
-
Cu placere.
-
Ai adăugat noile include-uri şi în pawno/includes? Când faci un update la plugin-uri, asigură-te că faci update şi la include-urile respective altfel nu faci nimic.
-
Înlocuieşte în folderul plugins toate fişierele .dll cu cele .so(dacă există deja nu faci nimic) iar în server.cfg, la plugins, pui .so după fiecare nume de la plugin.
-
Incearca si cu windows, singura solutie. Daca nu vrei sa pierzi nimic, fa un backup
-
Incearca sa dai un reinstall la samp , daca nu merge la gta, daca nu merge la windows, daca nu merge la retea(sterge cache [parola etc retea] si reconectare)
-
0.3.7 este ultima versiune
-
Dacă nu ai nicio problemă decât aceasta, schimbă acel KEY într-altul. De ce? Deoarece în config-ul tău la controale de la samp, tu ai definit probabil şi enter, şi F ca secondary attack ceea ce rezultă că trebuie amândouă apăsate să meargă. Ai două variante: Schimbi key-ul de la această comandă(găsite aici) script-wise, adică din gamemode, sau pur şi simplu să ştergi din controalele samp-ului tău enter.
-
public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == horse2[playerid]) { SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw."); CancelSelectTextDraw(playerid); } return 1; } Această linie nu este făcută cum trebuie, rezultă că nu o să funcţioneze ce ai vrut să faci. -- Cum apare şi în definiţia de pe Wikipedia(Sripting Functions), toate textdraw-urile, indiferent unde sunt puse, trebuie să aiba acel Text: înainte. Să vedem. if(clickedid == horse2[playerid]) Aici este eroarea cel mai probabil. O să-ţi explic de ce: înainte de orice funcţie, cum am mai zis, trebuie să adaugi acel Text: înainte, altfel acesta nu v-a funcţiona, vei primii warning sau chiar eroare. A doua greşeală este că ai pus [playerid] după numele textdraw-ului, ceea ce este foarte greşit. Textdraw-ul trebuie să RĂMÂNĂ mereu la numele său iniţial(cel găsit în new-ul creeat, dacă nu îţi dă eroare presupun că l-ai pus). Acum să vedem cum ar trebuii să arate cod-ul acum: public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == Text:horse2) { SendClientMessage(playerid, 0xFFFFFFAA, "You clicked on a textdraw."); CancelSelectTextDraw(playerid); } return 1; } Acel playerid, chiar dacă l-ai definit aşa este total greşit, îl laşi şi în new, şi în cod, FĂRĂ acel playerid.
-
Problema intalnita (descriere): api-ms-win-crt-runtime-l1-1-0.dll error cand porneste serverulEro(area / rile) / warning-(ul / urile):Liniile de cod / sursa / script-ul(obligatoriu): C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(261) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "engine" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "objective" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "boot" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "bonnet" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "doors" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(386) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(462) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(507) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1018) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1047) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1050) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1076) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1166) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1172) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1176) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1182) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 21 Warnings. C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(261) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(266) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "engine" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "objective" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "boot" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "bonnet" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(265) : warning 203: symbol is never used: "doors" C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(386) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(462) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(507) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1018) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1047) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1050) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1076) : warning 202: number of arguments does not match definition C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1166) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1172) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1176) : warning 213: tag mismatch C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1182) : warning 213: tag mismatch Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 21 Warnings. Imagini / Video (optional): n/aAti incercat sa rezolvati singur?: da... si pe site-ul .com *sry double-post Nu are niciun cod de linie, din cate stiu eu
-
Am rezolvat, am postat si pe forum.sa-mp.com si mi s-a epxlicat cum trebuie facut.
-
C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(289) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(298) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(419) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1010) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1032) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1049) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(412) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(590) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(617) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(682) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1079) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1099) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(435) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(572) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1468) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1735) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_stringhash.inc(306) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_hooks/impl.inc(443) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\y_ini/reading.inc(550) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(119) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(120) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(200) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(228) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(228) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(236) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(238) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(238) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(246) : warning 213: tag mismatch C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(522) : warning 211: possibly unintended assignment C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "AdminInfo" C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "gMyPlayerText" C:\Users\a\Desktop\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(588) : warning 203: symbol is never used: "str" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 32 Warnings.
-
Da, nu s-a postat postul acela Am fost idiot si n-am bagat sscanf2 in server.cfg Multumesc de ajutor! Poti inchide
-
Problema intalnita (descriere): multe warninguri de la YSI la compilare, dupa ce am pus /setadmin Ero(area / rile) / warning-(ul / urile): C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(289) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Core\y_debug.inc(298) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(419) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1010) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1032) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\..\YSI_Storage\y_amx.inc(1049) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(412) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(590) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(617) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(682) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1079) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Core\y_utils.inc(1099) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(435) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_malloc/funcs.inc(572) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1468) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_inline/impl.inc(1735) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_stringhash.inc(306) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\..\YSI_Coding\y_hooks/impl.inc(443) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\pawno\include\YSI\..\YSI_Storage\y_ini/reading.inc(550) : warning 219: local variable "str" shadows a variable at a preceding level C:\Users\mugur\Downloads\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(159) : warning 211: possibly unintended assignment C:\Users\mugur\Downloads\MAIN-ROLEPLAY\gamemodes\mainroleplay.pwn(461) : warning 203: symbol is never used: "gMyPlayerText" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 21 Warnings. Liniile de cod / sursa / script-ul(obligatoriu): CMD:setadmin(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] = 6)return SendClientMessage(playerid, 0xFF9900AA, "Nu esti administrator, nu poti folosi comanda. Simplu."); if(sscanf(params,"ui",ID,levels)) return SendClientMessage(playerid,0xFF9900AA, "FOLOSESTE: /setadmin [Nume sau ID] [Nivel(1-6)]");//it will show this if you dont use the format properly if(levels > 4) return SendClientMessage(playerid,0xFF0000FF,"POTI DA UN NIVEL DE LA 1 LA 6!");//Available levels if(!IsPlayerConnected(ID))return SendClientMessage(playerid,0xFF00000,"Utilizatorul selectat nu este inregistrat.");//Detect if the id/partofname is connected if(PlayerInfo[ID][pAdmin] == levels) return SendClientMessage(playerid,0xFF0000FF, "EROARE: Persoana selectata are deja acest nivel!");//Detect if the guy is already the level you setted GetPlayerName(playerid,Nam, MAX_PLAYER_NAME);//define the playerid name GetPlayerName(ID,pname,MAX_PLAYER_NAME);//define the other person name if(levels == 0) { format(str, sizeof(str),"{FFFFFF}%s {FF0000}ti-a setat nivelul de administrator la {FFFFFF}%d{FF0000}.",Nam,levels); SendClientMessage(ID,0xFF9900AA,str); format(str, sizeof(str),"{FF0000}I-ai setat lui {FFFFFF}%s {FF0000}nivelul de administrator la {FFFFFF}%d!",pname,levels); SendClientMessage(playerid,0xFF9900AA,str); PlayerInfo[ID][pAdmin] = levels;//this sets the player level return 1; } format(str, sizeof(str),"{FFFFFF}%s {FF0000}ti-a setat nivelul de administrator {FFFFFF}%d{FF0000}!",Nam,levels); SendClientMessage(ID,0xFF9900AA,str); format(str, sizeof(str),"{FF0000}I-ai setat lui {FFFFFF}%s {FF0000}nivelul de administrator la {FFFFFF}%d{FF0000}!",pname,levels); SendClientMessage(playerid,0xFF9900AA,str); PlayerInfo[ID][pAdmin] = levels; return 1; } Imagini / Video (optional): NuAti incercat sa rezolvati singur?: Da