C:\Users\cyber\Desktop\lel.pwn(1206) : warning 202: number of arguments does not match definition C:\Users\cyber\Desktop\lel.pwn(1206) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase Header size: 10396 bytes Code size: 546432 bytes Data size: 6219208 bytes Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion Total requirements: 6792420 bytes 2 Warnings. |
public OnPlayerEnterVehicle(PID, vehicleid, ispassenger)
{
new name[35];
GetVehicleName(vehicleid, name); //error line
new string[45];
format(string, sizeof string, "~y~%s", name);
GameTextForPlayer(PID, string, 5000, 1);
return 1;
}
GetVehicleName(vehicleid);
public OnPlayerEnterVehicle(PID, vehicleid, ispassenger)
{
new string[45];
format(string, sizeof string, "~y~%s", GetVehicleName(vehicleid));
GameTextForPlayer(PID, string, 5000, 1);
return 1;
}