ESTAI AS LINHA
new carid = PlayerInfo[playerid][pPHousekey]+totalveiculosh;
ERROR 2
if(strcmp(cmd, "/antixiter", true) == 0)
{
if (PlayerInfo[playerid][pAdmin] >= 6)
{
if(antixiter == 1)
{
SendClientMessage(playerid, COLOR_GRAD5, "Anti xiter de armas ligado");
antixiter = 0;
return 1;
}
antixiter = 1;
SendClientMessage(playerid, COLOR_GRAD5, "Anti xiter de armas desligado");
return 1;
}
return 1;
}
ERROR 3
if(strcmp(cmd, "/skick", true) == 0)
{
if(IsPlayerConnected(playerid))
{
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "USE: /skick [Id Do Jogador]");
return 1;
}
giveplayerid = ReturnUser(tmp);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 1340 && PlayerInfo[playerid][pAdmin] != 1341 && PlayerInfo[playerid][pAdmin] != 1342 && PlayerInfo[playerid][pAdmin] != 3001)
{
SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/jogar)");
return 1;
}
if(IsPlayerConnected(giveplayerid))
{
if(giveplayerid != INVALID_PLAYER_ID)
{
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
{
new string2[128];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string2, sizeof(string2), "%s [%d] Estб Tentando divulgar algo: %s", sendername, playerid);
ABroadCast(COLOR_YELLOW,string2,1);
SendClientMessage(playerid, COLOR_LIGHTRED, "Cuidado nгo digite nъmeros no chat");
return 1;
}
//getdate(year, month, day);
//format(string, sizeof(string), "AdmCmd: %s foi kickado por %s, Motivo: %s (%d-%d-%d)", giveplayer, sendername,month,day,year);
Kick(giveplayerid);
return 1;
}
}
}
else
{
format(string, sizeof(string), "%d Nгo estб online.", giveplayerid);
SendClientMessage(playerid, COLOR_GRAD1, string);
}
}
return 1;
}
ERROR 4
public SalvarInformacoes(playerid)
{
new arquivo[256];
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
if(!dini_Exists(arquivo))
{
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
dini_Create(arquivo);
}
format(arquivo, sizeof(arquivo), "/Informacoes/%s.ini",PlayerName(playerid));
dini_IntSet(arquivo,"Luta",PlayerInfo[playerid][pLuta]);
PlayerInfo[playerid][pLocal] = SpawnChange[playerid];
dini_IntSet(arquivo,"Local",PlayerInfo[playerid][pLocal]);
dini_IntSet(arquivo,"Carro",PlayerInfo[playerid][pCarro]);
dini_IntSet(arquivo,"CarroModelo",PlayerInfo[playerid][pCarroModel]);
dini_FloatSet(arquivo,"CarroPosX",PlayerInfo[playerid][pCarroposX]);
dini_FloatSet(arquivo,"CarroPosY",PlayerInfo[playerid][pCarroposY]);
dini_FloatSet(arquivo,"CarroPosZ",PlayerInfo[playerid][pCarroposZ]);
dini_FloatSet(arquivo,"CarroAngle",PlayerInfo[playerid][pCarroAngle]);
dini_IntSet(arquivo,"CarroPreco",PlayerInfo[playerid][pCarroPreco]);
dini_IntSet(arquivo,"TSlot0",PlayerInfo[playerid][PCarroTSlot0]);
dini_IntSet(arquivo,"TSlot1",PlayerInfo[playerid][PCarroTSlot1]);
dini_IntSet(arquivo,"TSlot2",PlayerInfo[playerid][PCarroTSlot2]);
dini_IntSet(arquivo,"TSlot3",PlayerInfo[playerid][PCarroTSlot3]);
dini_IntSet(arquivo,"TSlot4",PlayerInfo[playerid][PCarroTSlot4]);
dini_IntSet(arquivo,"TSlot5",PlayerInfo[playerid][PCarroTSlot5]);
dini_IntSet(arquivo,"TSlot6",PlayerInfo[playerid][PCarroTSlot6]);
dini_IntSet(arquivo,"TSlot7",PlayerInfo[playerid][PCarroTSlot7]);
dini_IntSet(arquivo,"TSlot8",PlayerInfo[playerid][PCarroTSlot8]);
dini_IntSet(arquivo,"TSlot9",PlayerInfo[playerid][PCarroTSlot9]);
dini_IntSet(arquivo,"TSlot10",PlayerInfo[playerid][PCarroTSlot10]);
dini_IntSet(arquivo,"TSlot11",PlayerInfo[playerid][PCarroTSlot11]);
dini_IntSet(arquivo,"TSlot12",PlayerInfo[playerid][PCarroTSlot12]);
dini_IntSet(arquivo,"TSlot13",PlayerInfo[playerid][PCarroTSlot13]);
dini_IntSet(arquivo,"TPintura",PlayerInfo[playerid][PCarroTPintura]);
dini_IntSet(arquivo,"TCor1",PlayerInfo[playerid][pCarroCor1]);
dini_IntSet(arquivo,"TCor2",PlayerInfo[playerid][pCarroCor2]);
dini_Set(arquivo,"Quadrilha",PlayerInfo[playerid][pQuadNome]);
return 1;
}
BolsaDeValoresPick = CreatePickup(1239,23,914.0972,-1004.0837,37.9903,0); //bolsa de valores
O erro nick e dessa pickup ate a ultiima linha mais , essa linha nao existe e depois da ultima linha !
|