SA-MP Forums Archive
Where do i put removed objects? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Where do i put removed objects? (/showthread.php?tid=445682)



Where do i put removed objects? - kjek98 - 22.06.2013

Where do i put removed objects on the script?


Re: Where do i put removed objects? - Oscii - 22.06.2013

OnPlayerConnect


Re: Where do i put removed objects? - StuartD - 22.06.2013

Look for the -

public OnPlayerConnect(playerid)


And paste them in there!


Re: Where do i put removed objects? - kjek98 - 22.06.2013

i get these errors
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(715) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : error 010: invalid function or declaration
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : warning 215: expression has no effect
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716) : error 021: symbol already defined: "RemoveBuildingForPlayer"
C:\Documents and Settings\Owner\Desktop\hydra server\gamemodes\hydras.pwn(716 -- 717) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


Re: Where do i put removed objects? - MP2 - 22.06.2013

Make sure they're AFTER the brace ( " { " ).


Re: Where do i put removed objects? - StuartD - 22.06.2013

Post the lines?

715 && 716?


Re: Where do i put removed objects? - Sulps - 22.06.2013

Post your Remove Object Code?
here
And make sure have the Latest Includes


Re: Where do i put removed objects? - Oscii - 22.06.2013

Show us the code where your getting the codes

pawn Код:
CODE



Re: Where do i put removed objects? - kjek98 - 22.06.2013

ok that is my script http://txtup.co/FYpqH


Re: Where do i put removed objects? - StuartD - 22.06.2013

See on "OnPlayerConnect" you have simply pasted before the {

Make it like this;

pawn Код:
public OnPlayerConnect(playerid)
{
   REMOVE BUILDING HERE
   OTHER STUFF HERE ASWELL
}
Etc