local variable shadows a variable at a preceding level
Hello, i'm getting a warning "local variable "OnDutyPD" shadows a variable at a preceding level". Global: PHP Code: new OnDutyPD[MAX_PLAYERS] = 1; Function: PHP Code:...
View Article[Pedido] base
Ola galera , bem eu queria uma base de como eu faço esse sistema > insira sua senha para registrar > registrou > aparece seleçao de skins! tipo assim Registrou-apareceu seleçao
View ArticleTrying to store pickup ids to delete them later in a dynamic pickup creator
Hello I'm trying to store my pickup ids to be able to delete them using the id with a /deletepickup (id) command or a /deleteallpickups My problem is that the commands always delete the last pickup...
View ArticleIncreasing Ram usage / Memory Leak (Scripts)
I never really considered this to be a problem, (as I am trying my best to write clean and optimized code) - but whatever i did in my new update (and whenever there are players on) causes massive ram...
View ArticleÏðîáëåìà ñ ñèòñåìîé òðàíñïîðòà.
Ïðè áîëüøîì îíëàéíå , êîãäà èãðîêè âûõîäÿò óäàëÿþòüñÿ è èõ ìàøèíû è äðóãèå ÷óæèå , íî ïî÷åìó ÿ òàê è íå ïîéìó. Âîò êîä êîòîðûé ÿ ñäåëàë , íî ïî÷åìó òî èä òà÷åê ñáèâàþòñÿ , ïðîñüáà ïîìî÷ü , è äàæå...
View ArticleProblem with spec
Hi i have added an admin command spec player not working code: Code: CMD:spec(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] < 1&& !IsPlayerAdmin(playerid)) return 1;...
View Article[GvC] GTA V Character Switch Feature
I have finished my character switch feature based on GTA V Character Switch. This system using custom txd for Switch Board for improve system look cuz my server using custom launcher (default textdraw...
View ArticleSelect Name from DB
Hi ! I want to make a command to uninvite some players from a faction in game. I don't know how to select their names from database ( i can't use playerid because they could be offline ). What i tried...
View ArticleNeed help. Checkpoint
Clip checkpoint : https://www.youtube.com/watch?v=PcAc...ature=youtu.be I want to do the same as on video, but do not know how to do it. help me. Tkas.
View ArticlePlayers getting disconnected from server
Hello guys. So sometime players get disconnect from my server without any error. I install crashdetect but i don't see any problem. The ips not is flood i check all of them. Here's the log: PHP Code:...
View ArticleWhat's the difference
Hi there! What's the difference between: HTML Code: CMD:nameoff(playerid, params[]) { if(PlayerData[playerid][pAdminLevel] >= 6) { for(new i = GetPlayerPoolSize(); i != -1; --i)...
View ArticleProblem with saving system using y_ini
Here is my SaveUser code: Code: forward SaveUser(playerid); public SaveUser(playerid) { new float:x,float:y,float:z; GetPlayerPos(playerid,x,y,z); new float:health,float:armour;...
View ArticleGUIDE : Creating your first BETA Gamemode
Hello everybody, Today I want to share some usefull information for beginners. As most of you know,BETA Server is a testing server. Why do we need BETA server for testing? We could just do it on my own...
View ArticleWhat am I doing wrong in this?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { if(PRESSED(newkeys & KEY_WALK)) { ApplyAnimation(playerid, "PED", "ROB_Loop_Threat", 4.1, 1, 1, 1, 1, 1, 1);...
View ArticleRegisterDate
PHP Code: case dREGISTER: //register dialog { if(!response) return Kick(playerid); //if they clicked Quit, we will kick them if(strlen(inputtext) < 6) return...
View ArticleError when I added "mysql_static.so"
Hi, before this error, I've got some error, too. Quote: Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory) And then, I add "mysql_static.so" It's fixed, but,...
View ArticleHelp me! Actor VW and Name Hide Health and armor
How to create actor have VW and Name hide health and armor
View Articleshorten mysql format
Is there any way I could shorten this code PHP Code: mysql_format(mysql, query, sizeof(query), "UPDATE users SET level=%d, money=%d admin=%d lsd=%d cocaine=%d WHERE nick='%s'", score, money, pname,...
View ArticleWhy does everyone rave about Hosted Tab?
I honestly don't get what the big deal about the hosted tab is any more. I remember a time when there were 5 servers on the hosted tab, then it meant something But right now, there's 1000s of server's...
View Article