LimitGlobalChatRadius(RADIAЗВO QUE VC QUER AKI);
if(GetPlayerMoney(playerid) < payout)
{
format(string, sizeof(string), "* Vocк usou %d caracters e custou $%d,.", offset, payout);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
return 1;
}
Originally Posted by [H
unter ]
pawn Code:
|
//Topo
new tempoanuncio;
forward Anuncio();
// Public
public Anuncio()
{
if(tempoanuncio > 0)
{
tempoanuncio = 0;
return 1;
}
return 1;
}
if(panuncio == 1)
{
SendClientMessage(playerid,COLOR_GRAD2,"Espere alguns Segundos para poder anunciar novamente!");
return 1;
}
GivePlayerMoney(playerid,- praVoce);
SBizzInfo[7][sbTill] += praVoce;
ExtortionSBiz(7,praVoce);
format(string,sizeof(string),"Anuncio: %s,Contato: %s Telefone: %d", result,sendername,PlayerInfo[playerid][pPnumber]);
OOCNews(TEAM_GROVE_COLOR,string);
format(string,sizeof(string),"~r~Pagou %d R$~n~~w~Letra contidas: %d Caracteres",praVoce,idx);
GameTextForPlayer(playerid,string,5000,5);
panuncio = 1;
TempoAn = SetTimer("Anuncio", 30000, 0);
}
return 1;
}
Originally Posted by [H
unter ]
Criei um Aqui sу vocк montar ele pawn Code:
pawn Code:
|
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(159) : warning 217: loose indentation
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(191) : warning 217: loose indentation
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(201) : error 017: undefined symbol "panuncio"
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(206) : warning 217: loose indentation
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(206) : error 017: undefined symbol "praVoce"
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(207) : error 017: undefined symbol "SBizzInfo"
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(207) : warning 215: expression has no effect
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(207) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(207) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Usuario\Desktop\Server 0.3\gamemodes\RPG-v1.0.pwn(207) : fatal error 107: too many error messages on one line