Jump to content
  • 0

erori la niste comenzi de vip


Question

Posted

am pus niste comenzi pentru vip in LuxAdmin

dar imi da niste erori :

linia:

	if ( P_DATA[ playerid ][ Vip ] >= 1 )
D:\Diverse\Server linux\filterscripts\LuxAdmin.pwn(7196) : error 017: undefined symbol "P_DATA"
D:\Diverse\Server linux\filterscripts\LuxAdmin.pwn(7196) : warning 215: expression has no effect
D:\Diverse\Server linux\filterscripts\LuxAdmin.pwn(7196) : error 001: expected token: ";", but found "]"
D:\Diverse\Server linux\filterscripts\LuxAdmin.pwn(7196) : error 029: invalid expression, assumed zero
D:\Diverse\Server linux\filterscripts\LuxAdmin.pwn(7196) : fatal error 107: too many error messages on one line

6 answers to this question

Recommended Posts

Posted

cum fac la aceste comenzi sa fie si pentru vip de exemplu vip level 1

dar sa nu schimb nimic sa adaug ..

acolo sa fie si pentru vip

ma ajuta cineva

exemplu la 2 comenzi

dcmd_aweaps(playerid,params[])
{
	#pragma unused params
	if(AccInfo[playerid][Level] >= 3)
	{
		GivePlayerWeapon(playerid,31,1000); GivePlayerWeapon(playerid,16,1000);
	 	GivePlayerWeapon(playerid,34,1000); GivePlayerWeapon(playerid,28,1000);
		GivePlayerWeapon(playerid,38,1000); GivePlayerWeapon(playerid,24,1000);
		GivePlayerWeapon(playerid,26,1000); GivePlayerWeapon(playerid,42,1000);
		GivePlayerWeapon(playerid,14,1000); GivePlayerWeapon(playerid,46,1000);
		GivePlayerWeapon(playerid,9,1);
		return 1;
	}
	else return ErrorMessages(playerid, 6);
}
dcmd_sremovecash(playerid,params[])
{
	if(AccInfo[playerid][Level] >= 3)
	{
	    if(!strlen(params)) return
		SendClientMessage(playerid, LIGHTBLUE2, "Usage: /sremovecash [PlayerID]") &&
		SendClientMessage(playerid, orange, "Function: Will silently remove Cash of specified player");
		new player1 = strval(params);
		new string[128];
		if(AccInfo[player1][Level] == ServerInfo[MaxAdminLevel] && AccInfo[playerid][Level] != ServerInfo[MaxAdminLevel])
		return SendClientMessage(playerid,red,"ERROR: You cannot use this command on this admin");
        if(IsPlayerConnected(player1) && player1 != INVALID_PLAYER_ID)
		{
			SendCommandToAdmins(playerid,"SRemoveCash");
			format(string, sizeof(string), "|- You have Silently reset \"%s's\" Cash -|", pName(player1));
			SendClientMessage(playerid,BlueMsg,string);
   			return ResetPlayerMoney(player1);
	    }
		else return ErrorMessages(playerid, 2);
	}
	else return ErrorMessages(playerid, 1);
}

Posted

in loc de

if(AccInfo[playerid][Level] >= 3)
pui
if(AccInfo[playerid][Level] < 1) 

communitylogosml.png

94.23.120.101:7778

Posted

ba ala ce e acol oe pentru admin nu sa modific

io vreau sa mai adaug cu pVip sa fac comanda si de vip esti .. .de nu intelegei ?

nu stiu ce trbui sa adaug sa fie comanda si la vip

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.