COMMAND:bcsdo(playerid, params[])
{
for (new i = 0; i < APPROX_PLAYERS; i++)
{
if (IsPlayerConnected(i) )
{
if(gteam[i]==Team_LSPD)
{
MoveObject(BCSDDoor1, -227.91, 1214.85, 19.66, 2 ,0.00, 0.00, 0.00);
MoveObject(BCSDDoor2, -232.86, 1214.87, 19.66, 2 ,0.00, 0.00, 179.46);
}
}
}
return 1;
}
COMMAND:bcsdc(playerid, params[])
{
for (new i = 0; i < APPROX_PLAYERS; i++)
{
if (IsPlayerConnected(i) )
{
if(gteam[i]==Team_LSPD)
{
MoveObject(BCSDDoor1, -229.5500000, 1214.85, 19.66, 2 ,0.00, 0.00, 0.00);
MoveObject(BCSDDoor2, -231.2700000, 1214.85, 19.66, 2 ,0.00, 0.00, 179.46);
}
}
}
return 1;
}
C:\Users\Owner\Desktop\BC ELGIN RP\gamemodes\ProjectElgin.pwn(36600) : error 076: syntax error in the expression, or invalid function call C:\Users\Owner\Desktop\BC ELGIN RP\gamemodes\ProjectElgin.pwn(36601) : error 076: syntax error in the expression, or invalid function call C:\Users\Owner\Desktop\BC ELGIN RP\gamemodes\ProjectElgin.pwn(36615) : error 076: syntax error in the expression, or invalid function call C:\Users\Owner\Desktop\BC ELGIN RP\gamemodes\ProjectElgin.pwn(36616) : error 076: syntax error in the expression, or invalid function call
new BCSDDoor1,BCSDDoor2;
BCSDDoor1 = createobject bla bla
BCSDDoor1 = CreateObject(19303, -229.55, 1214.85, 19.66, 0.00, 0.00, 0.00); BCSDDoor2 = CreateObject(19303, -231.27, 1214.85, 19.66, 0.00, 0.00, 179.46);
|
This code doesn't really make sense you only need to move an object once whats up with this code? Also error on line 36616 your game mode must be a serious pain in the ass to try and work with use includes and create modules throwing that much code into a single file and trying to edit it is silly.
|