12.10.2017, 16:22
error 035: argument type mismatch (argument 2)
line :
why error?
Код:
CMD:call911(playerid,params[]) { new string[128]; new dname[MAX_PLAYER_NAME], sw[120]; GetPlayerName(playerid, dname, sizeof(dname)); format(sw, sizeof(sw),"{3399FF}[Central Police Station] {FFFFFF}Thanks for calling 911, you will soon be served by a police officer, please wait.",dname); SendClientMessage(blue2,sw); format(string,sizeof(string),"{0985FA}[Police Central] {FFFFFF}Attention {3399FF}%s {FFFFFF}is calling 911, any officer available to answer the call.",dname,playerid,params); MessageToAdmins(COLOR_WHITE,string); return 1; }
Код:
SendClientMessage(blue2,sw);