if(strcmp(cmdtext, "/moveobject", true) == 0) { if(GetPlayerSkin(playerid) == 287) { new string[50]; MoveObject(obj, My cords..., My cords..., My cords..., 2.00); MoveObject(obj1, My cords..., My cords..., My cords..., 2.00); MoveObject(obj2, My cords..., My cords..., My cords..., 2.00); MoveObject(obj3, My cords..., My cords..., My cords..., 2.00); MoveObject(obj4, My cords..., My cords..., My cords..., 2.00); MoveObject(obj5, My cords..., My cords..., My cords..., 2.00); MoveObject(obj6, My cords..., My cords..., My cords..., 2.00); MoveObject(obj7, My cords..., My cords..., My cords..., 2.00); MoveObject(obj8, My cords..., My cords..., My cords..., 2.00); MoveObject(obj9, My cords..., My cords..., My cords..., 2.00); format(string, sizeof(string), "Object moving..."); SendClientMessage(playerid, 0xFF000000, string); return 1; }
C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(165) : warning 217: loose indentation C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(185) : warning 217: loose indentation C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(185) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(185) : error 004: function "OnPlayerEnterVehicle" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(190) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(190) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(190) : error 004: function "OnPlayerExitVehicle" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(195) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(195) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(195) : error 004: function "OnPlayerStateChange" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(200) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(200) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(200) : error 004: function "OnPlayerEnterCheckpoint" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(205) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(205) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(205) : error 004: function "OnPlayerLeaveCheckpoint" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(210) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(210) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(210) : error 004: function "OnPlayerEnterRaceCheckpoint" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(215) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(215) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(215) : error 004: function "OnPlayerLeaveRaceCheckpoint" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(220) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(220) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(220) : error 004: function "OnRconCommand" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(225) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(225) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(225) : error 004: function "OnPlayerRequestSpawn" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(230) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(230) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(230) : error 004: function "OnObjectMoved" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(235) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(235) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(235) : error 004: function "OnPlayerObjectMoved" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(240) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(240) : error 029: invalid expression, assumed zero C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(240) : error 004: function "OnPlayerPickUpPickup" is not implemented C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(242) : error 017: undefined symbol "pickupid" C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(247) : warning 225: unreachable code C:\Users\Root\Desktop\Serveris\gamemodes\Untitled.pwn(247) : error 029: invalid expression, assumed zero Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
if(GetPlayerSkin(playerid) == 287)
{
new string[50];
MoveObject(obj, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj1, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj2, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj3, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj4, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj5, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj6, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj7, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj8, My cords..., My cords..., My cords..., 2.00);
MoveObject(obj9, My cords..., My cords..., My cords..., 2.00);
format(string, sizeof(string), "Object moving...");
SendClientMessage(playerid, 0xFF000000, string);
}
return 1;
} // you forgot a bracket
}
return 1;
}//this is the 2nd bracket you are missing
format(string, sizeof(string), "Object moving..."); SendClientMessage(playerid, 0xFF000000, string); |