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);
if(strcmp("/RetroBurners_Initiate", cmdtext, true) == 0)
{
new Float:RotX,Float:RotY,Float:RotZ;
new Float:x, Float:y, Float:z;
new string[128];
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;
}
pawn Код:
Edit: Hope this will work |