C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1435) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1435) : error 033: array must be indexed (variable "cmd") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1491) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1491) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1497) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1497) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1622) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1622) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1628) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1628) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1657) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1657) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1714) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1714) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1717) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1717) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1793) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1793) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1798) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1798) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1827) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1827) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1925) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1925) : error 033: array must be indexed (variable "tmp") C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1929) : error 017: undefined symbol "strtok" C:\Users\AztecasGamerzzz\Documents\GOod Servers\Turf Wars\gamemodes\TW2.pwn(1929) : error 033: array must be indexed (variable "tmp") Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3206) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3221) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3240) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3260) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3296) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3446) : error 017: undefined symbol "GetPlayer2DZone" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3503) : error 017: undefined symbol "GetPlayer2DZone" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3546) : error 004: function "FixHour" is not implemented C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(3766) : error 017: undefined symbol "IsNumeric" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(4306) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(5327) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(5340) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(5558) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(5573) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6522) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6768) : error 017: undefined symbol "IsNumeric" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6781) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6801) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6821) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6841) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6861) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6881) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6903) : error 017: undefined symbol "IsNumeric" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6916) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6936) : error 017: undefined symbol "ProxDetector" C:\Users\AztecasGamerzzz\Documents\GOod Servers\TR-RP\gamemodes\trrp2.pwn(6956) : error 017: undefined symbol "ProxDetector" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
forward ProxDetectorS(Float:radi, playerid, targetid);
forward ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5);
public ProxDetectorS(Float:radi, playerid, targetid)
{
if(IsPlayerConnected(playerid)&&IsPlayerConnected(targetid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
//radi = 2.0; //Trigger Radius
GetPlayerPos(targetid, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
}
return 0;
}
public ProxDetector(Float:radi, playerid, string[],col1,col2,col3,col4,col5)
{
if(IsPlayerConnected(playerid))
{
new Float:posx, Float:posy, Float:posz;
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
//radi = 2.0; //Trigger Radius
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && (GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)))
{
if(!BigEar[i])
{
GetPlayerPos(i, posx, posy, posz);
tempposx = (oldposx -posx);
tempposy = (oldposy -posy);
tempposz = (oldposz -posz);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi/16) && (tempposx > -radi/16)) && ((tempposy < radi/16) && (tempposy > -radi/16)) && ((tempposz < radi/16) && (tempposz > -radi/16)))
{
SendClientMessage(i, col1, string);
}
else if (((tempposx < radi/8) && (tempposx > -radi/8)) && ((tempposy < radi/8) && (tempposy > -radi/8)) && ((tempposz < radi/8) && (tempposz > -radi/8)))
{
SendClientMessage(i, col2, string);
}
else if (((tempposx < radi/4) && (tempposx > -radi/4)) && ((tempposy < radi/4) && (tempposy > -radi/4)) && ((tempposz < radi/4) && (tempposz > -radi/4)))
{
SendClientMessage(i, col3, string);
}
else if (((tempposx < radi/2) && (tempposx > -radi/2)) && ((tempposy < radi/2) && (tempposy > -radi/2)) && ((tempposz < radi/2) && (tempposz > -radi/2)))
{
SendClientMessage(i, col4, string);
}
else if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
SendClientMessage(i, col5, string);
}
}
else
{
SendClientMessage(i, col1, string);
}
}
}
}//not connected
return 1;
}
...i really hate newbie scripters.
pawn Код:
pawn Код:
pawn Код:
|
First off all, What about you if you ask something in Scripting Help,
What about if someone called you "I hate newbie scripter". Think before posting. Anyway put them anywhere except inside the callbacks or the commands. |