Need help for a little thing
#2

I'm not sure what you mean by the string bit since they are all strings. However this should be a fix.

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if (IsAnOwnedCar(vehicleid) && !ispassenger)
    {
        format(lvehicle, sizeof(lvehicle), "Owner : %s", CARSHOP[vehicleid][Owner]);  // BUGGED
        SendClientMessage(playerid,0xAFAFAFAA,lvehicle);
    }
    return 1;
}
We use %s as %d defines it as an integer value and not a string.
Reply


Messages In This Thread
Need help for a little thing - by Alice[WS] - 01.09.2009, 23:53
Re: Need help for a little thing - by JaTochNietDan - 01.09.2009, 23:59
Re: Need help for a little thing - by coole210 - 02.09.2009, 00:09
Re: Need help for a little thing - by Alice[WS] - 02.09.2009, 11:05
Re: Need help for a little thing - by Alice[WS] - 02.09.2009, 14:32
Re: Need help for a little thing - by Alice[WS] - 02.09.2009, 16:05

Forum Jump:


Users browsing this thread: 1 Guest(s)