pega nesse que voce achou e edita... se nao souber editar aprenda a pawnar primeiro e depois tente...
|
if(strcmp(cmd, "/assalto", true) == 0)
{
new enviar;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xF60000AA, "Use /assalto [id].");
enviar = strval(tmp);
if(IsPlayerConnected(enviar)) {
SendClientMessage(playerid, 0xF60000AA, "Vocк assaltou o player");
SendClientMessage(enviar, 0xF60000AA, "Vocк foi assautado rsrs");
GivePlayerMoney(playerid,GetPlayerMoney(enviar));
SetPlayerMoney(enviar,0);
return 1;
}
return 1;
}
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2113) : error 004: function "DetectorProx" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2188) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2192) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2204) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2208) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2212) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2216) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2220) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2224) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2228) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2240) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2244) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2248) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2252) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2256) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2268) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2272) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2276) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2288) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2292) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2296) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2300) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2315) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2326) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2412) : error 004: function "CheckOwner" is not implemented
C:\Documents and Settings\Renato\Meus documentos\weverton\server2\gamemodes\bakiup\BXLW.pwn(2600) : error 017: undefined symbol "GivePlayerMoneyEx"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
{
new string[256];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s Entra no veiculo.", sendername);
DetectorProx(20.0,playerid,string,ROXO);
return 1;
}
if(strcmp(cmd, "/assaltar", true) == 0)
{
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pLider] == 15 || PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pLider] == 18 || PlayerInfo[playerid][pMembro] == 19 || PlayerInfo[playerid][pLider] == 19)
{
new enviar;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) return SendClientMessage(playerid, 0xF60000AA, "Use /assaltar [id].");
enviar = strval(tmp);
if(IsPlayerConnected(enviar)) {
SendClientMessage(playerid, 0xF60000AA, "Vocк assaltou o player");
SendClientMessage(enviar, 0xF60000AA, "Vocк foi Assaltado");
GivePlayerMoney(playerid,GetPlayerMoney(enviar));
return 1;
}
return 1;
}
SetPlayerMoney(enviar,0);
if(strcmp(cmd, "/assaltar", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pMembro] == 15 || PlayerInfo[playerid][pMembro] == 18 || PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pMembro] == 27 ||
PlayerInfo[playerid][pLider] == 5 || PlayerInfo[playerid][pLider] == 15 || PlayerInfo[playerid][pLider] == 18 || PlayerInfo[playerid][pLider] == 23 || PlayerInfo[playerid][pLider] == 27)
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USE: /assaltar [ID] [PREЗO]");
return 1;
}
giveplayerid = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USE: /assaltar [ID] [PREЗO]");
return 1;
}
moneys = strval(tmp);
if(moneys < 1 || moneys > 10000) { SendClientMessage(playerid, COLOR_GREY, "Custo entre 1 e 10000 !"); return 1; }
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
if (ProxDetectorS(8.0, playerid, giveplayerid))
{
format(string, sizeof(string), "* Voce estб assaltando %s por $%d", giveplayer, moneys);
SendClientMessage(playerid, COLOR_WHITE, string);
format(string, sizeof(string), "* Vocк estб sendo assaltar pelo(a) %s no valor de R$%d", sendername, moneys);
SendClientMessage(giveplayerid, COLOR_WHITE, string);
SendClientMessage(giveplayerid, COLOR_WHITE, "* Use /aceitar assalto, para evitar levar um tiro");
TicketOffer[giveplayerid] = playerid;
TicketMoney[giveplayerid] = moneys;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, "O jogador esta longe !");
return 1;
}
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "O jogador esta Offline !");
}
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк precisa de ser membro de uma ganga para utilizar este comando!");
return 1;
}
}
return 1;
}