Help with Scripting
#1

PHP код:
KARP.pwn(3905) : warning 213tag mismatch
KARP
.pwn(3927) : error 009invalid array size (negativezero or out of bounds)
KARP.pwn(3927) : error 036: empty statement
KARP
.pwn(3928) : error 017undefined symbol "GetPlayer2DZone"
KARP.pwn(3928) : warning 202number of arguments does not match definition
KARP
.pwn(3928) : error 001expected token","but found ";"
KARP.pwn(3933) : warning 202number of arguments does not match definition
KARP
.pwn(3933) : warning 202number of arguments does not match definition
KARP
.pwn(3933) : error 017undefined symbol "location"
KARP.pwn(3934) : error 017undefined symbol "SendRadioMessage"
KARP.pwn(3935) : error 017undefined symbol "SendRadioMessage"
KARP.pwn(3936) : error 017undefined symbol "SendRadioMessage"
KARP.pwn(3937) : error 017undefined symbol "SendRadioMessage"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
Код:
  	new location[MAX_ZONE_NAME];
	GetPlayer2DZone(playerid, location, MAX_ZONE_NAME);
	new Float:x, Float:y, Float:z, Float:angle;
  	GetPlayerFacingAngle(playerid, angle);
  	GetPlayerPos(playerid, x, y, z);
	CreateFlare(x, y, z, angle);
  	format(string, sizeof(string), "HQ: %s has placed a flare at %s", GetPlayerName(playerid), location);
	SendRadioMessage(1, TEAM_BLUE_COLOR, string);
	SendRadioMessage(2, TEAM_BLUE_COLOR, string);
	SendRadioMessage(3, TEAM_BLUE_COLOR, string);
	SendRadioMessage(5, TEAM_BLUE_COLOR, string);
Reply ASAP
Reply
#2

Have you included 'a_zones'?
Reply
#3

No i have the include il have to find it Im such a noob
Reply
#4

Im Still Getting These Errors

Код:
KARP.pwn(19) : error 038: extra characters on line
KARP.pwn(3906) : warning 213: tag mismatch
KARP.pwn(3934) : warning 202: number of arguments does not match definition
KARP.pwn(3934) : warning 202: number of arguments does not match definition
KARP.pwn(3935) : error 017: undefined symbol "SendRadioMessage"
KARP.pwn(3936) : error 017: undefined symbol "SendRadioMessage"
KARP.pwn(3937) : error 017: undefined symbol "SendRadioMessage"
KARP.pwn(3938) : error 017: undefined symbol "SendRadioMessage"
Reply
#5

do you have this in the script?
pawn Код:
public SendRadioMessage(member, color, string[])
{
    foreach(Player, i)
    {
        if(PlayerInfo[i][pMember] == member)
        {
            SendClientMessageEx(i, color, string);
        }
    }
}
Reply
#6

Thank you guys i love you man <3 you have solved my problem
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)