SA-MP Forums Archive
Number of Arguments Does Not Match Definition? - 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: Number of Arguments Does Not Match Definition? (/showthread.php?tid=556536)



Number of Arguments Does Not Match Definition? - ItsSmooth - 10.01.2015

It says that the "Number of Arguments Does Not Match Definition", and there are 29 of those. They're all for the RemoveBuildingForPlayer lines.


Re: Number of Arguments Does Not Match Definition? - Axey187 - 10.01.2015

You're missing a parameter of the function.

RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius), you're missing one of the six parameters for RemoveBuildingForPlayer, or you didn't add a comma to seperate one from the other.


Re: Number of Arguments Does Not Match Definition? - ItsSmooth - 10.01.2015

Quote:
Originally Posted by Axey187
Посмотреть сообщение
You're missing a parameter of the function.

RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius), you're missing one of the six parameters for RemoveBuildingForPlayer, or you didn't add a comma to seperate one from the other.
Gotcha, we're gonna give it a go. We figured a lot out XD