This Client message won't send. (using StrCat)
#1

pawn Код:
new name = GetVehicleModel(vehicleid) - 400;
                        format(second, sizeof(second), "Congratulations! You have purchased a {33AA33}%s!", VehicleNames[name]);
                        strcat(string, second);
                        format(second, sizeof(second), "Price: {33AA33}$%d", VehPrice[vehicleid]);
                        strcat(string, second);
                        format(second, sizeof(second), "License Plate: {33AA33}%s",VehPlate[vehicleid]);
                        strcat(string, second);
                        format(second, sizeof(second), "You are now the {33AA33}Registered Owner{8000FF} of this vehicle.");
                        strcat(string, second);
                        SendClientMessage(playerid, COLOUR_ORANGE, string);
Could someone tell my why it won't send the client message?
Reply
#2

It's because you don't have enough arguments:
pawn Код:
strcat(string, second, sizeof(string));
Reply
#3

The client message won't send at exactly the same time, or am I wrong?
Reply
#4

Okay.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)