Error 035: argument type mismatch (argument 2)
#1

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?
Reply
#2

GetPlayerPos(i, Float:X, Float:Y, Float:Z);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)