• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] Not sending an error message
#4
Code:
#define SendClientMessageFormatted(%0,%1,%2,%3) do{new _string[128]; format(_string,sizeof(_string),%2,%3); SendClientMessage(%0,%1,_string);} while(FALSE)



if(Vehicles[vehicleid][impounded] == 1) return SendClientMessageFormatted(playerid, COLOR_RED, "{ff6347}Error: Unable to spawn %s (ID: %d) because it is impounded.",GetVehicleName(Vehicles[vehicleid][vrID]), vehicleid);



Try this.
  Reply


Messages In This Thread
Not sending an error message - by Axitz - 2021-04-07, 02:32 PM
RE: Not sending an error message - by Radical - 2021-04-07, 04:26 PM
RE: Not sending an error message - by Axitz - 2021-04-07, 05:05 PM
RE: Not sending an error message - by destiezk - 2021-04-07, 10:11 PM
RE: Not sending an error message - by Pinch - 2021-04-07, 11:26 PM
RE: Not sending an error message - by Axitz - 2021-04-08, 01:24 PM

Forum Jump: