CreateObject(980, 681.42, 902.21, -41.00, 0.00, 0.00, 0.00); CreateObject(980, 681.77, 891.29, -41.00, 0.00, 0.00, 0.00); CreateObject(980, 676.25, 896.78, -41.00, 0.00, 0.00, 90.00); CreateObject(980, 686.37, 896.69, -41.00, 0.00, 0.00, 90.00); CreateObject(980, 678.09, 897.01, -38.00, 180.00, 89.97, 0.00); CreateObject(980, 683.33, 896.88, -38.00, 180.00, 89.97, 0.00);
|
DO NOT USE!!! EVER!!! 974 - Car Door 975 - Car Bumper 976 - Car Side Panel 977 - Car Bonnet 978 - Car Boot/Trunk 979 - Car Wheel 980 - Additional Bodyparts 981 - More Additional Body Parts |
CreateObject(971, 680.52, 890.96, -41.00, 0.00, 0.00, 0.00); CreateObject(971, 680.34, 899.13, -40.00, 0.00, 0.00, 0.00); CreateObject(971, 685.04, 895.13, -41.00, 0.00, 0.00, 90.00); CreateObject(971, 676.31, 895.20, -41.00, 0.00, 0.00, 90.00); CreateObject(971, 681.56, 893.45, -39.00, 90.00, 0.00, 0.00); CreateObject(971, 681.40, 895.39, -39.00, 90.00, 0.00, 0.00);
C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(2) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(2) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(3) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(3) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(4) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(4) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(5) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(5) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(6) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(6) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(7) : warning 203: symbol is never used: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(7) : error 013: no entry point (no public functions) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
#include <a_samp>
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
CreateObject(971, 680.52, 890.96, -41.00, 0.00, 0.00, 0.00);
CreateObject(971, 680.34, 899.13, -40.00, 0.00, 0.00, 0.00);
CreateObject(971, 685.04, 895.13, -41.00, 0.00, 0.00, 90.00);
CreateObject(971, 676.31, 895.20, -41.00, 0.00, 0.00, 90.00);
CreateObject(971, 681.56, 893.45, -39.00, 90.00, 0.00, 0.00);
CreateObject(971, 681.40, 895.39, -39.00, 90.00, 0.00, 0.00);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
|
Originally Posted by xXiamCr4zyXx
I changed the object to another one and still nothing i got 13 errors
Objects: Код:
CreateObject(971, 680.52, 890.96, -41.00, 0.00, 0.00, 0.00); CreateObject(971, 680.34, 899.13, -40.00, 0.00, 0.00, 0.00); CreateObject(971, 685.04, 895.13, -41.00, 0.00, 0.00, 90.00); CreateObject(971, 676.31, 895.20, -41.00, 0.00, 0.00, 90.00); CreateObject(971, 681.56, 893.45, -39.00, 90.00, 0.00, 0.00); CreateObject(971, 681.40, 895.39, -39.00, 90.00, 0.00, 0.00); Код:
C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(1) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(2) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(2) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(3) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(3) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(4) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(4) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(5) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(5) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(6) : error 021: symbol already defined: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(6) : error 010: invalid function or declaration C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(7) : warning 203: symbol is never used: "CreateObject" C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail2.pwn(7) : error 013: no entry point (no public functions) Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase |
warning 203: symbol is never used:
error 010: invalid function or declaration
error 013: no entry point (no public functions)
public OnGameModeInit()
{
CreateObject(971, 680.52, 890.96, -41.00, 0.00, 0.00, 0.00);
CreateObject(971, 680.34, 899.13, -40.00, 0.00, 0.00, 0.00);
CreateObject(971, 685.04, 895.13, -41.00, 0.00, 0.00, 90.00);
CreateObject(971, 676.31, 895.20, -41.00, 0.00, 0.00, 90.00);
CreateObject(971, 681.56, 893.45, -39.00, 90.00, 0.00, 0.00);
CreateObject(971, 681.40, 895.39, -39.00, 90.00, 0.00, 0.00);
return 1;
}
C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail.pwn(39) : warning 217: loose indentation C:\Documents and Settings\Eldin_2\Desktop\SERVER SA-MP !\filterscripts\Jail.pwn(45) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.