Posts: 1,046
Threads: 29
Joined: Mar 2010
Quote:
Originally Posted by Seifspeed
I have deleted the
native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);
From my A_player and added it to a_samp
then pasted the removebuildingforplayer onplayerconnect()
it still says:
D:\Users\Seif\Desktop\Raven's Roleplay\gamemodes\larp.pwn(630  : error 021: symbol already defined: "RemoveBuildingForPlayer"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
First of all there is already RemoveBuldingForPlayer defined in YOUR OWN script, search for it in YOUR OWN script for the re-definition. Do NOT edit pre-made includes (obviosly those from the server package), because doing so is a bad idea. You have to use it in OnPlayerConnect, because it has to affect on the player, who is connecting to your server. If you put it into a loop under OnGameModeInit, you'll obviosly not be able to remove objects.