Scriptfiles :S
#1

Hey i have a bug with scriptfiles.
When i make an acc(register)and when i add admin on scripfiles/users/Name_Surname then when i login to the server
it says that is not the right password :S i put the right i know !!

HELP MEEEEEEEEEEEEEEEEEEEEEEE
Reply
#2

hmm make a private command on your script to add your self admin
1. what i guess is you want to change the level admin to = 9999 or something like that after your Save it will changes the pass

PS : Rep+ if i helps you
Reply
#3

no i like to change on 1338
How to make that admin command?for Rcon?
Reply
#4

Command Works 100/100 for your name

Dont Forget To Rep first


Код:
	if(strcmp(cmd, "/vizi", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /vizi [playerid/PartOfName] [level(1-3)]");
				return 1;
			}
			new para1;
			new level;
			para1 = ReturnUser(tmp);
			tmp = strtok(cmdtext, idx);
			level = strval(tmp);
			    if(IsPlayerConnected(para1))
			    {
			        if(para1 != INVALID_PLAYER_ID)
			        {
						GetPlayerName(para1, giveplayer, sizeof(giveplayer));
						GetPlayerName(playerid, sendername, sizeof(sendername));
						PlayerInfo[para1][pAdmin] = level;
						printf("AdmCmd: %s has promoted %s to a level %d admin.", sendername,   giveplayer, level);
						format(string, sizeof(string), "   You have been promoted to a level %d admin by %s", level, sendername);
						SendClientMessage(para1, COLOR_LIGHTBLUE, string);
						format(string, sizeof(string), "   You have promoted %s to a level %d admin.", giveplayer,level);
						SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
						
					}
				}
			}
		}
		return 1;
	}
Reply
#5

we cant help without codes.

give us the code of the bugs that happens..
Reply
#6

rep+
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)