[Ajuda] Warning 213 - Tag Mismatch
#6

PHP код:
stock CreateDealershipCar(playeridname[MAX_PLAYER_NAME], priceFloat:posXFloat:posYFloat:posZFloat:angle)
{
    new 
model ReturnVehicleID(name);
    new 
sendername[20];
    if(
GetPlayerMoney(playerid) < price) return SendClientMessage(playerid0xFFFFFFFF"Vocк nгo tem dinheiro suficiente!");
    {
        new 
colorOne random(255);
        new 
colorTwo random(255);
        new 
idcar CreateVehicle(model,posX,posY,posZ,angle,colorOne,colorTwo,60000);
        
InfoCarros[idcar][cModel] = model;
        
SendClientMessage(playerid0xFFFFFFFF"Parabйns pelo seu carro!");
        
InfoCarros[idcar][cLocationx] = posX;
        
InfoCarros[idcar][cLocationy] = posY;
        
InfoCarros[idcar][cLocationz] = posZ;
        
InfoCarros[idcar][cAngle] = angle;
        
InfoCarros[idcar][cColorOne] = colorOne;
        
InfoCarros[idcar][cColorTwo] = colorTwo;
        
InfoCarros[idcar][cValue] = price;
        
InfoCarros[idcar][cOwned] = 1;
        
GivePlayerMoney(playerid,-price);
        
GetPlayerName(playeridsendernamesizeof(sendername));
        
strmid(InfoCarros[idcar][cOwner], sendername0strlen(sendername), 999);
        
SalvarCarros();
    }
    return 
1;

Estou setando os carros assim.
Reply


Messages In This Thread
Warning 213 - Tag Mismatch - by iAplle - 31.07.2018, 14:37
Re: Warning 213 - Tag Mismatch - by wearLy - 31.07.2018, 14:41
Re: Warning 213 - Tag Mismatch - by InsaneBR - 31.07.2018, 14:42
Re: Warning 213 - Tag Mismatch - by iAplle - 31.07.2018, 14:55
Re: Warning 213 - Tag Mismatch - by InsaneBR - 31.07.2018, 15:01
Re: Warning 213 - Tag Mismatch - by iAplle - 31.07.2018, 15:06
Re: Warning 213 - Tag Mismatch - by IlanZ - 31.07.2018, 17:30
Re: Warning 213 - Tag Mismatch - by iAplle - 31.07.2018, 17:36

Forum Jump:


Users browsing this thread: 3 Guest(s)