This Client message won't send. (using StrCat) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: This Client message won't send. (using StrCat) (
/showthread.php?tid=419106)
This Client message won't send. (using StrCat) -
Dokins - 27.02.2013
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?
Re: This Client message won't send. (using StrCat) -
DiGiTaL_AnGeL - 27.02.2013
It's because you don't have enough arguments:
pawn Код:
strcat(string, second, sizeof(string));
Re: This Client message won't send. (using StrCat) -
Dokins - 27.02.2013
The client message won't send at exactly the same time, or am I wrong?
Re: This Client message won't send. (using StrCat) -
Dokins - 27.02.2013
Okay.