linha 84 if(strcmp(cmdtext, "/invadir", true) == 0) { linha 86 if(invadioupp[playerid] == 1) { SendClientMessage(playerid, 0xAA3333AA, "Vocк devera esperar 3 minutos por jб ter Invadido uma Vez."); } { linha 91 if(PlayerToPoint(15.0, playerid, 1972.72375488,-1440.04626465,17.4946746 ![]() ![]() { format(string, sizeof(string), "O{89898b} %s {f5f3f0}estб explodindo a cela nє2",Nome(playerid)); SendClientMessageToAll(-1, string); SendClientMessage(playerid, COLOR_GREY, "A bomba vai estorar em 20 segundos se proteja"); SetTimerEx("invadirPortaoupp", 20000, 0, "i", playerid); SetTimer("UsarUPP", 220000, 0); invadioupp[playerid] = 1; linha 99 return true; } } } } |
C:\Users\Yuri\Desktop\Yuri\GM\BID\filterscripts\ex plodir.pwn(84) : error 010: invalid function or declaration C:\Users\Yuri\Desktop\Yuri\GM\BID\filterscripts\ex plodir.pwn(86) : error 010: invalid function or declaration C:\Users\Yuri\Desktop\Yuri\GM\BID\filterscripts\ex plodir.pwn(91) : error 010: invalid function or declaration C:\Users\Yuri\Desktop\Yuri\GM\BID\filterscripts\ex plodir.pwn(99) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
#include a_samp
new invadioupp[MAX_PLAYERS];
new string[128];
stock Nome( targerid )
{
new Name[24+1];
GetPlayerName( targerid , Name , 24 );
return Name;
}
public OnPlayerCommandText(playerid , cmdtext[])
{
if(strcmp(cmdtext, "/invadir", true) == 0)
{
if(invadioupp[playerid] == 1)return SendClientMessage(playerid, 0xAA3333AA, "Vocк devera esperar 3 minutos por jб ter Invadido uma Vez.");
if(IsPlayerInRangeOfPoint( playerid, 15.0 , 1972.72375488,-1440.04626465,17.4946746) || IsPlayerInRangeOfPoint( playerid, 15.0 , 1972.72375488,-1440.04626465,17.4946746))
{
format(string, sizeof(string), "O{89898b} %s {f5f3f0}estб explodindo a cela nє2",Nome(playerid));
SendClientMessageToAll(-1, string);
SendClientMessage(playerid, -1, "A bomba vai estorar em 20 segundos se proteja");
SetTimerEx("invadirPortaoupp", 20000, 0, "i", playerid);
SetTimer("UsarUPP", 220000, 0);
invadioupp[playerid] = 1;
return true;
}
}
return 1;
}