REMOVED OBJECTS help pls -
rynhok2 - 24.12.2013
how to delete this item from the map
RemoveBuildingForPlayer(playerid, 3778, 200.4844, -1875.0000, 3.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3615, 200.4844, -1875.0000, 3.0781, 0.25);
RemoveBuildingForPlayer(playerid, 621, 143.8359, -1749.6719, 3.6719, 0.25);
Re: REMOVED OBJECTS help pls -
DobbysGamertag - 24.12.2013
Post in OnPlayerConnect:
pawn Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 3778, 200.4844, -1875.0000, 3.0781, 0.25);
RemoveBuildingForPlayer(playerid, 3615, 200.4844, -1875.0000, 3.0781, 0.25);
RemoveBuildingForPlayer(playerid, 621, 143.8359, -1749.6719, 3.6719, 0.25);
return 1;
}
Re: REMOVED OBJECTS help pls -
HitterHitman - 25.12.2013
0.25 is the range, when player goes near the object in range 0.25 it removes that.
From my opinion you should increase the value to 300 - 700. So that it removes the object from a large distance.
Re: REMOVED OBJECTS help pls -
rynhok2 - 25.12.2013
thank so much!!!!!!!!!
but 3 errors : help
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(6573) : error 021: symbol already defined: "MP_OPC"
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(6577) : warning 217: loose indentation
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(27290) : error 017: undefined symbol "Burger1RobbedRecently"
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(27310) : error 017: undefined symbol "Burger1RobbedRecently"
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(27310) : warning 215: expression has no effect
C:\Users\macbook\Desktop\Ravens Roleplay 0.3x v1.1\Raven's Roleplay 0.3x\gamemodes\larp.pwn(84126) : warning 203: symbol is never used: "rger1RobbedRecently"