#1

I have this in spec, if i remove the angle then it compile fine but when i add then i get erro

pawn Код:
GetPlayerPos(playerid, SpecX[playerid], SpecY[playerid], SpecZ[playerid]);
        SpecA[playerid] = GetPlayerFacingAngle(playerid);
        SpecInterior[playerid] = GetPlayerInterior(playerid);
        SpecVWorld[playerid] = GetPlayerVirtualWorld(playerid);


warning 202: number of arguments does not match definition


        SpecA[playerid] = GetPlayerFacingAngle(playerid);
Reply
#2

You should do it the other way around:

pawn Код:
GetPlayerPos(playerid, SpecX[playerid], SpecY[playerid], SpecZ[playerid]);
GetPlayerFacingAngle(playerid, SpecA[playerid]);
SpecInterior[playerid] = GetPlayerInterior(playerid);
SpecVWorld[playerid] = GetPlayerVirtualWorld(playerid);
Reply
#3

thx man
Reply
#4

Removed. Someone already answered this before I could finish.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)