Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Maxximizer

Pages: [1]
1
Script Discussion / Re: Starting server problem
« on: September 21, 2014, 09:37:39 am »
big thanks

2
Script Discussion / Re: Starting server problem
« on: September 20, 2014, 11:07:12 pm »
p.s. Before use a 0.4 version, i'm use this script on 0.3z ver

3
Script Discussion / Re: Starting server problem
« on: September 20, 2014, 11:00:47 pm »
Which is line 2617 ?
Line 2617
else if (!IsNum(tmp[1] || tmp[1].tointeger() < 1 || tmp[1].tointeger() > 5) ClientMessage("Enter: /c setrank [Nick] [1-5]", player, 255, 0, 0);

4
Script Discussion / Starting server problem
« on: September 20, 2014, 10:54:53 pm »
Hi guys. Need you help.
When i'm starting my script, console says:


Line 2617
else if (!IsNum(tmp[1] || tmp[1].tointeger() < || tmp[1].tointeger() > 5ClientMessage("Enter: /c setrank [Nick] [1-5]"player25500);

All code
	
else if (
cmd == "setrank")
	
{
	
	
if (
PlayerInfo[playerid].Logged == 0ClientMessage("You are not log in!"player25500);
	
	
else if (!
IsPlayerExistsClan(player)) ClientMessage("You have not clan!"player25500);
	
	
else if (!
textClientMessage("Enter: /c setrank [Nick] [1-5]"player25500);
	
	
else if (
GetPlayerDetailsValue(player"clan_rank") < 3ClientMessage("You need clan rank [3]"player25500);
	
	
else
	
	
{
	
	
	
local tmp split(text" "); //&#1056;&#1072;&#1079;&#1073;&#1080;&#1074;&#1072;&#1077;&#1084; &#1080;&#1089;&#1093;&#1086;&#1076;&#1085;&#1091;&#1102; &#1082;&#1086;&#1084;&#1072;&#1085;&#1076;&#1091; &#1087;&#1086; &#1087;&#1088;&#1086;&#1073;&#1077;&#1083;&#1072;&#1084; &#1080; &#1087;&#1080;&#1096;&#1077;&#1084; &#1074; &#1084;&#1072;&#1089;&#1089;&#1080;&#1074; cmd
	
	
	
if (
tmp.len() != 2ClientMessage("Enter: /c setrank [Nick] [1-5]"player25500);
	
	
	
else if ( !
IsClanRegistered(tmp[0]) ) ClientMessage("This clan does not exists"player25500);
	
	
	
else if (!
IsNum(tmp[1] || tmp[1].tointeger() < || tmp[1].tointeger() > 5ClientMessage("Enter: /c setrank [Nick] [1-5]"player25500);
	
	
	
else
	
	
	
{
	
	
	
	
SetPlayerDetailsValue(player"clan_rank"tmp[1].tointeger() );
	
	
	
	

	
	
	
	
msg format("%s [%i] set clan rank: [%i]"player.NameGetPlayerLevel(player), tmp[1].tointeger() );
	
	
	
	
ClientMessage(msgplayer25500);
	
	
	
}
	
	
}
	
}

Please help me, i'm beginner

Pages: [1]