RemoveBuildingForPlayer Freeze Bug -
Mac-10 - 20.07.2012
Hello,
I am having issues with RemoveBuildingPlayer, the result of it is when you go to Connect it freezes, Obviously because its under OnPlayerConnect, but anyway is there any way possible at all to fix this issue, because there is no way I can go with "less" RemoveBuilding's..
I think I explained that as clear as I could, if anyone could help me it would be much appreciated.
Re: RemoveBuildingForPlayer Freeze Bug -
[A]ndrei - 20.07.2012
lol put this under
lol
+rep
Re: RemoveBuildingForPlayer Freeze Bug -
newbienoob - 20.07.2012
Quote:
Originally Posted by [A]ndrei
|
He will get an error
Код:
Undefined symbol "playerid"
Re: RemoveBuildingForPlayer Freeze Bug -
[A]ndrei - 20.07.2012
im very sorry its like this
pawn Код:
public OnPlayerConnect(playerid)
{
RemoveBuildingForPlayer(playerid, 11372, -2076.4375, -107.9297, 36.9688, 0.25); //this is an examle
return 1;
}
Re: RemoveBuildingForPlayer Freeze Bug -
Mac-10 - 20.07.2012
It is currently under OnPlayerConnect, as I said at the First Post, everything Compiles Great, but like I said everyone freezes when entering the server.
Re: RemoveBuildingForPlayer Freeze Bug -
[A]ndrei - 20.07.2012
are you using StrCMP
if you use STRCMP and ZCMD they inflict and wont let each other work...I THINK IT INTERFEARS WITH RemoveBuildingForPlayer NOT SURE...
Re: RemoveBuildingForPlayer Freeze Bug -
Kindred - 20.07.2012
Are you sure it is the removebuilding code? Has it done this before it was added? I suggest removing all of the codes and then trying again, to see if it freezes or not (only if you don't know it worked when it was not there).
Re: RemoveBuildingForPlayer Freeze Bug -
Mac-10 - 20.07.2012
Strcmp and dcmd..so very possible, but it does actually work with Few RemoveBuildingforplayer but freezes with alot in.
Re: RemoveBuildingForPlayer Freeze Bug -
[A]ndrei - 20.07.2012
agreed with kindred also can you give us all the codes for RemoveBuildingForPlayer maybe we will find something wrong that the pawn does not find(just maybe)
Re: RemoveBuildingForPlayer Freeze Bug -
Mac-10 - 20.07.2012
Quote:
Originally Posted by Kindred
Are you sure it is the removebuilding code? Has it done this before it was added? I suggest removing all of the codes and then trying again, to see if it freezes or not (only if you don't know it worked when it was not there).
|
Yes it works fine without it.