Wtf ? What's wrong ?
#1

Код:
if(strcmp(cmdtext, "/equip", true) == 0)
	{
 		if(gTeam[playerid] == 13)
	    {

                if(IsPlayerInRangeOfPoint(playerid,5.0, 2559.9490,-1295.0225,1060.9844))
	    {
					new iCount = GetTickCount();
			                          if((iCount - iLastHealed[playerid]) > 180000)

            		                                      {
					GivePlayerWeapon(playerid, 24, 50); // deagle
 					GivePlayerWeapon(playerid, 31, 500); // m4
      				             GivePlayerWeapon(playerid, 28, 500); // uzi
					GivePlayerWeapon(playerid, 8, 1); // katana
					GivePlayerWeapon(playerid, 25, 50); // shotgun
					SetPlayerHealth(playerid, 100);
					SetPlayerArmour(playerid, 100);
          			                          iLastHealed[playerid] = iCount;
					GameTextForPlayer(playerid,"~r~texz!", 5000, 1);
				}
					else return SendClientMessage(playerid, COLOR_RED, ".... 3mins!");
				}
				else
				{
				    SendClientMessage(playerid, COLOR_GREY," You are not....				}
		}
		else
		{
		    SendClientMessage(playerid, COLOR_RED,"* You arent in this gang!");
		}
		return 1;
	}
This command works if i open a server from my pc... but if i upload it to my host (kingj) it dont works it always says that i must wait 3mins... " ... 3mins "
Reply
#2

No ideas ? It works on my home server.. but if i upload the gamemode to my host it dont works
Reply
#3

I bet you are missing a plugin, ehh?
Reply
#4

no on both servers i dont use any plugins and no filterscripts
Reply
#5

Try under onplayerconnect:
pawn Код:
iLastHealed[playerid] = 0;
See if that helps.
Reply
#6

don't helps
Reply
#7

ye dont help's
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)