SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/06/2013, 05:43 PM   #1
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Exclamation Delete This

Problem Solved.

Last edited by _Mohit_; 27/06/2014 at 10:20 AM.
_Mohit_ is offline   Reply With Quote
Old 04/06/2013, 05:46 PM   #2
Necip
Huge Clucker
 
Necip's Avatar
 
Join Date: May 2011
Posts: 334
Reputation: 25
Default Re: Need help in RemoveBuildingForPlayer

Show the RemoveBuildingForPlayer you add in your script
__________________


Necip is offline   Reply With Quote
Old 04/06/2013, 05:47 PM   #3
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: Need help in RemoveBuildingForPlayer

It is one of the line

Code:
RemoveBuildingForPlayer(playerid, 10398, -2722.539062, -341.742187, 34.539058, 0.25);
_Mohit_ is offline   Reply With Quote
Old 04/06/2013, 05:49 PM   #4
Necip
Huge Clucker
 
Necip's Avatar
 
Join Date: May 2011
Posts: 334
Reputation: 25
Default Re: Need help in RemoveBuildingForPlayer

I think you shall download a newer version of RemoveBuilding include
__________________


Necip is offline   Reply With Quote
Old 04/06/2013, 05:50 PM   #5
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: Need help in RemoveBuildingForPlayer

Quote:
Originally Posted by Necip View Post
I think you shall download a newer version of RemoveBuilding include
I didnt use any includes
_Mohit_ is offline   Reply With Quote
Old 04/06/2013, 05:51 PM   #6
Stanford
Gangsta
 
Stanford's Avatar
 
Join Date: Feb 2012
Posts: 984
Reputation: 84
Default Re: Need help in RemoveBuildingForPlayer

Make sure that you put that line under OnPlayerConnect
__________________
******: "That code compiles perfectly, but I can tell you now it won't make me a cup of tea."

******: "I've said this before. People think that MySQL is some simple plug-and-play magic bullet that you can use to just make your mode instantly better. They don't realise that the "L" in "SQL" means "language". So instead of programming PAWN, and using a bit of this mystery thing, you are now programming in two languages at once. If you spend months learning PAWN, you should spend the same time learning SQL, if not more - it is probably the more complex of the two languages, and not something that just gets bolted on to the side."
Stanford is offline   Reply With Quote
Old 04/06/2013, 05:53 PM   #7
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,893
Reputation: 1321
Default Re: Need help in RemoveBuildingForPlayer

Quote:
Originally Posted by _Mohit_ View Post
I used RemoveBuildingForplayer,and when i go to test the script on LocalHost,the objects which are removed are visible(but not colidable).Please help me.
Hmmm, that could be a useful trick how did you make them non-collidable ? (LOD Objects) You need to delete as well.
Pottus is offline   Reply With Quote
Old 04/06/2013, 05:53 PM   #8
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: Need help in RemoveBuildingForPlayer

Quote:
Originally Posted by Stanford View Post
Make sure that you put that line under OnPlayerConnect
Yep.It is under OnPlayerConnect
_Mohit_ is offline   Reply With Quote
Old 04/06/2013, 05:58 PM   #9
_Mohit_
Big Clucker
 
Join Date: Sep 2012
Location: India
Posts: 83
Reputation: 5
Default Re: Need help in RemoveBuildingForPlayer

The objects are visible for a few secs.And then they dis appear.And after 2-3 secs again it appears
_Mohit_ is offline   Reply With Quote
Old 04/06/2013, 06:00 PM   #10
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,893
Reputation: 1321
Default Re: Need help in RemoveBuildingForPlayer

Add this dude,

pawn Code:
RemoveBuildingForPlayer(playerid, 10319, -2722.539062, -341.742187, 34.539058, 0.25);
Pottus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RemoveBuildingForPlayer Squirrel Scripting Help 4 18/02/2013 01:44 AM
RemoveBuildingForPlayer HELP!!!!! LavaHDProkiller Scripting Help 16 21/01/2013 11:58 AM
RemoveBuildingForPlayer help ! MSav34 Scripting Help 8 02/07/2012 08:29 PM
RemoveBuildingForPlayer AstonDA-G Scripting Help 3 09/06/2012 03:57 PM


All times are GMT. The time now is 03:59 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.