argument type mismatch (argument 1)
#1

Код:
C:\Users\NTVbeleza\Desktop\tigres.pwn(6754) : error 035: argument type mismatch (argument 1)
C:\Users\NTVbeleza\Desktop\tigres.pwn(6754) : error 035: argument type mismatch (argument 1)
C:\Users\NTVbeleza\Desktop\tigres.pwn(6754) : error 035: argument type mismatch (argument 2)
C:\Users\NTVbeleza\Desktop\tigres.pwn(6754) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Код:
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
  Line of error --------------))                   format(string, sizeof(string), "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}.",);             ((-------------Line of error
			        Enviarmensaje(playerid, COLOR_AZULL, string);
Reply
#2

pawn Код:
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
format(string, sizeof(string), "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}.");
Enviarmensaje(playerid, COLOR_AZULL, string);
Reply
#3

Код:
new string[128];
SetVehicleToRespawn(GetPlayerVehicleID(playerid));
format(string, 128, "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}.");
Enviarmensaje(playerid, COLOR_AZULL, string);
if not working then ||
Show me your "Enviarmensaje" function
Reply
#4

Thks,re
Reply
#5

Код:
C:\Users\NTVbeleza\Desktop\tigres.pwn(7372) : error 029: invalid expression, assumed zero
C:\Users\NTVbeleza\Desktop\tigres.pwn(7372) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#6

Remove this from line ","
format(string, sizeof(string), "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}.",);
Reply
#7

Код:
// replace
format(string, sizeof(string), "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}.",); // error with the comma.

with

format(string, sizeof(string), "[Trabajo] {FFFFFF}Por haber limpiado las calles, has recibido una paga de: {00CC00}$1500{FFFFFF}."); // comma removed
Reply
#8

Thank you very much solved
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)