29.09.2011, 17:07
simple thing i made a space ship script and im trying to make a retroburners script but its producing lots of errors btw im using a edited version of G_ObjectsRot i edited (that is not causing any problems the script is) but its producing lots of errors here they are:
and the code itself:
Can anyone help me with this all the errors seem to be on this line which is LINE 346:
And This One which is LINE 345:
and line 349 is
and line 350 is
please help me on this thanks
Код:
C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(349) : error 035: argument type mismatch (argument 1) C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(349) : error 035: argument type mismatch (argument 1) C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(350) : error 035: argument type mismatch (argument 3) C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(346) : warning 203: symbol is never used: "string" C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(345) : warning 203: symbol is never used: "z" C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(345) : warning 203: symbol is never used: "y" C:\DOCUME~1\Rhys\Desktop\SA8BEC~1\GAMEMO~1\bare.pwn(345) : warning 203: symbol is never used: "x" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors.
Код:
if(strcmp("/RetroBurners_Initiate", cmdtext, true) == 0) { new Float:RotX,Float:RotY,Float:RotZ; new Float:x, Float:y, Float:z; new string; GetObjectRot(Docking_Port, RotX, RotY, RotZ); GetObjectPos(Docking_Port, X, Y, Z); format(string, sizeof(string),"Current Rotational Axis and Position Of ISS Docking Port: %f, %f, %f, Location: %f, %f, %f", RotX, RotY, RotZ, x, y, z); SendClientMessage(playerid, Yellow, string); RotateDynamicObject(Docking_Port, RotX, RotY, 0.0, 90, 1); return 1; }
Код:
new string;
Код:
new Float:x, Float:y, Float:z;
Код:
format(string, sizeof(string),"Current Rotational Axis and Position Of ISS Docking Port: %f, %f, %f, Location: %f, %f, %f", RotX, RotY, RotZ, x, y, z);
Код:
SendClientMessage(playerid, Yellow, string);