Buildings
#1

How to delete buildings in 0.3d??
Using RP Script' Can any one help?
Reply
#2

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!
Reply
#3

Cant Understand this editor : http://forum.sa-mp.com/showthread.ph...ht=SAMP+Editor
Reply
#4

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.
Reply
#5

You're getting those errors coz you're using 0.3c includes..... Update your client AND your includes to 0.3d
Reply
#6

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.
Reply
#7

The error messages are displayed in english; not computer language.

If it says "undefined symbol: 'playerid'
Then what could possibly be wrong?!
Reply
#8

Put the code in OnPlayerConnect NOT OnGameModeInIt
Reply
#9

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.
Reply
#10

That shouldn't be... the OnPlayerConnect function has playerid
Are you sure you did it correctly?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)