Error 035: argument type mismatch (argument 2) - 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: Error 035: argument type mismatch (argument 2) (
/showthread.php?tid=336271)
Error 035: argument type mismatch (argument 2) -
DestinY12 - 21.04.2012
Hi.I get this type of error when i'm trying to compile my gamemode...:error 035: argument type mismatch (argument 2)
This is a part of the pawno Code:
Код:
if(MedicTime[i] > 0)
{
if(MedicTime[i] == 3)
{
SetPlayerInterior(i, 5);
new Float:X, Float:Y, Float:Z;
GetPlayerPos(i, X, Y, Z);
SetPlayerCameraPos(i, X + 3, Y, Z);
SetPlayerCameraLookAt(i,X,Y,Z);
}
This is where it say that the error is:
Код:
GetPlayerPos(i, X, Y, Z);
And this is the error again:error 035: argument type mismatch (argument 2)
Can anyone help me?
Re: Error 035: argument type mismatch (argument 2) -
Deduction - 22.04.2012
GetPlayerPos(i, Float:X, Float:Y, Float:Z);