SA-MP Forums Archive
warnings - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: warnings (/showthread.php?tid=502357)



warnings - aboa - 23.03.2014

pawn Код:
C:\Users\Abo Abed\Desktop\SAPRP\gamemodes\SAPRP.pwn(33780) : warning 202: number of arguments does not match definition
C:\Users\Abo Abed\Desktop\SAPRP\gamemodes\SAPRP.pwn(33780) : warning 202: number of arguments does not match definition
pawn Код:
format(szMessage, sizeof(szMessage), "*** %s's %s Safe ***", PlayerRPName(playerid), GetVehicleName(PlayerVehicleInfo[playerid][d][pvId]));



Re: warnings - amirab - 23.03.2014

maybe problem is in your PlayerRPName or in GetVehicleName


Re: warnings - Equuuuin0X - 23.03.2014

pawn Код:
format(szMessage, sizeof(szMessage), "*** %s(%d) 's %s Safe ***", PlayerRPName(playerid), GetVehicleName(PlayerVehicleInfo[playerid][d][pvId]),playerid);

or this if the first one gets error.



pawn Код:
format(szMessage, sizeof(szMessage), "*** %s(%d) 's %s Safe ***", PlayerRPName(playerid), GetVehicleName(PlayerVehicleInfo[playerid][d][pvId]));