01.12.2011, 20:38
I hear of it being a feature to remove them, But what are they?
You can remove them with the RemoveBuildingForPlayer (https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer) function that is native to the new 0.3d SAMP version.
You can also use an include, such as mine, to give more flexibility (such as using RemoveBuilding without a playerid and having the ability to restore buildings after they've been removed). |
C:\Users\hp\AppData\Local\VirtualStore\Program Files (x86)\Rockstar Games\samp\gamemodes\PPC_Trucking.pwn(598) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Users\hp\AppData\Local\VirtualStore\Program Files (x86)\Rockstar Games\samp\gamemodes\PPC_Trucking.pwn(599) : error 017: undefined symbol "RemoveBuildingForPlayer"
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 731, -2325.3125, 2350.0078, 3.1641, 200.0);
RemoveBuildingForPlayer(playerid, 715, -2346.4766, 2343.7969, 11.7891, 200.0);
Sorry for bringing back a old thread, but i did the removebuildingforplayer steps just how they explaned on wiki and i get a error code.
PHP код:
PHP код:
The server is updated to 3.0d R-2, and i thought it wouldnt have a problem since 3.0d you can delet buildings and objects. I am new to scripting and any help would acceptible! Thanks Nick |