warning 202: number of arguments does not match definition
#1

Title :S
pawn Код:
new modelo;
modelo = GetVehicleModel(autos[i]);
SendClientMessage(i,-1,"Tu {F8F800}%s{FFFFFF} ha sido remolcado al ъltimo lugar donde lo estacionastes.", NombreAuto[modelo-400]);
Why? :S
Reply
#2

You need to use format for that.

pawn Код:
new modelo, string[80];
modelo = GetVehicleModel(autos[i]);
format(string, sizeof(string), "Tu {F8F800}%s{FFFFFF} ha sido remolcado al ъltimo lugar donde lo estacionastes.", NombreAuto[modelo-400]);
SendClientMessage(playerid, -1, string);
Reply
#3

SendClientMessage(playerid,color,message)

You are using 4 things in SendClientMessage.
Reply
#4

Quote:
Originally Posted by Mionee
Посмотреть сообщение
You need to use format for that.

pawn Код:
new modelo, string[80];
modelo = GetVehicleModel(autos[i]);
format(string, sizeof(string), "Tu {F8F800}%s{FFFFFF} ha sido remolcado al ъltimo lugar donde lo estacionastes.", NombreAuto[modelo-400]);
SendClientMessage(playerid, -1, string);
Thanks, +REP.

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)