Buildings -
Palaa - 16.01.2012
How to delete buildings in 0.3d??
Using RP Script' Can any one help?
Re: Buildings -
nmader - 16.01.2012
Well, that is really quite simple, what I recommend, is that you use the search bar on forum.sa-mp.com, and just search SAMP Editor and get the latest one, and it allows you to delete buildings, and it gives you a code which you should later add to your OnGameModeInit (OnFilterScriptInit if you are using it as a filterscript)
Feel free to give me some Rep if I helped!
Re: Buildings -
Palaa - 16.01.2012
Cant Understand this editor :
http://forum.sa-mp.com/showthread.ph...ht=SAMP+Editor
Re: Buildings -
Palaa - 16.01.2012
Okay i got the code After Putting In OnGameModeInIt ,Still Error'
This is code :
RemoveBuildingForPlayer(playerid, 3999, 1785.9766, -1564.8594, 25.2500, 0.25);
RemoveBuildingForPlayer(playerid, 4079, 1785.9766, -1564.8594, 25.2500, 0.25);
CreateObject(3607, 1789.37, -1566.99, 18.53, 0.00, 0.00, 35.46);
Errors : C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(35) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(36) : error 017: undefined symbol "RemoveBuildingForPlayer"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(3

: warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Buildings -
SupremeCommander - 16.01.2012
You're getting those errors coz you're using 0.3c includes..... Update your client AND your includes to 0.3d
Re: Buildings -
Palaa - 16.01.2012
Now this error
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(35) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(36) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(3

: warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Buildings -
ғαιιοцт - 16.01.2012
The error messages are displayed in english; not computer language.
If it says "undefined symbol: 'playerid'
Then what could possibly be wrong?!
Re: Buildings -
TheLazySloth - 16.01.2012
Put the code in OnPlayerConnect NOT OnGameModeInIt
Re: Buildings -
Palaa - 16.01.2012
Quote:
Originally Posted by TheLazySloth
Put the code in OnPlayerConnect NOT OnGameModeInIt
|
Here your answer after putting in OnplayerConnect
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(35) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(36) : error 017: undefined symbol "playerid"
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(3

: warning 217: loose indentation
C:\Documents and Settings\Administrator\My Documents\Downloads\bUILING.pwn(61) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Re: Buildings -
TheLazySloth - 16.01.2012
That shouldn't be... the OnPlayerConnect function has playerid
Are you sure you did it correctly?