Spec - 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: Spec (
/showthread.php?tid=511316)
Spec -
Ananisiki - 04.05.2014
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);
Re: Spec -
[..MonTaNa..] - 04.05.2014
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);
Re: Spec -
Ananisiki - 04.05.2014
thx man
Re: Spec -
Abagail - 04.05.2014
Removed. Someone already answered this before I could finish.