Capture points
#1

I need help making at least 1 capture point please!!

At this location: 403.5565,2454.8381,16.5000

If you can help let me know i'll give you a link to the script...

Thanks SOOOO MUCH!!
Reply
#2

Let me guess NGRP script How nice

you tell me how it is NGRP i tell ya only NGRP got the points and it was fucked up.
Reply
#3

Код:
if(strcmp(cmd, "/claim", true) == 0)
	{
	    new mypoint = -1;
	    GetPlayerName(playerid, playername, sizeof(playername));
	    if (PlayerInfo[playerid][pFMember] >= MAX_FAMILY || PlayerInfo[playerid][pRank] < 5)
	    {
	        SendClientMessage(playerid, COLOR_GRAD2, "Only family Boss and Underboss can claim");
	        return 1;
	    }
		for (i=0; i<MAX_POINTS; i++)
		{
		    if (PlayerToPoint(2.0, playerid, 403.5565,2454.8381,16.5000)) mypoint = i;
		}
	    if (mypoint == -1)
	    {
	        SendClientMessage(playerid, COLOR_GRAD2, "You are not at any point that can be claimed");
	        return 1;
	    }
	    if (Points[mypoint][Vulnerable] > 0)
	    {
	        SendClientMessage(playerid, COLOR_GRAD2, "This point is not ready for takeover");
	        return 1;
	    }
	    if (Points[mypoint][ClaimerId] != 255)
	    {
	        SendClientMessage(playerid, COLOR_GRAD2, "This point is already being claimed by someone else, eliminate him first!");
	        return 1;
	    }
	    format(string, sizeof(string), "%s is trying to claim %s, waste him!", playername, Points[mypoint][Name]);
	    SendClientMessageToAll(TEAM_ORANGE_COLOR, string);
	    format(string, sizeof(string), "You must stand here for 10-20 seconds to claim");
	    SendClientMessage(playerid, COLOR_WHITE, string);
	    Points[mypoint][ClaimerId] = playerid;
	    Points[mypoint][TimeToClaim] = 2;
	    Points[mypoint][TakeOverTimerStarted] = 0;
	    Points[mypoint][BeingClaimed] = 1;
	    //Points[mypoint][ClaimerTeam] = PlayerInfo[playerid][pFMember];
	    return 1;
	}
PS : REP+
Reply
#4

C:\Users\Master13\Desktop\COD_5\COD_5\filterscript s\cap.pwn(93) : error 017: undefined symbol "playername"
C:\Users\Master13\Desktop\COD_5\COD_5\filterscript s\cap.pwn(93) : error 017: undefined symbol "playername"
C:\Users\Master13\Desktop\COD_5\COD_5\filterscript s\cap.pwn(93) : error 029: invalid expression, assumed zero
C:\Users\Master13\Desktop\COD_5\COD_5\filterscript s\cap.pwn(93) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#5

Any one else got any different ideas ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)