RemoveBuildingForPlayer ? help me
#3

Your using that inside a function that doesn't have playerid as a parameter. (or var)

pawn Код:
public OnFilterScriptInit()//<< no playerid
{
    RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);//ERROR
    return 1;
}


public OnPlayerConnect(playerid)//<< playerid parameter
{
    RemoveBuildingForPlayer(playerid, 4024, 1479.8672, -1790.3984, 56.0234, 0.25);//FINE! WILL WORK
    return 1;
}
Reply


Messages In This Thread
RemoveBuildingForPlayer ? help me - by Evation - 24.05.2012, 09:24
Re: RemoveBuildingForPlayer ? help me - by HDFord - 24.05.2012, 09:27
Re: RemoveBuildingForPlayer ? help me - by iggy1 - 24.05.2012, 09:27
Re: RemoveBuildingForPlayer ? help me - by Evation - 24.05.2012, 09:32
Re: RemoveBuildingForPlayer ? help me - by iggy1 - 24.05.2012, 09:34
Re: RemoveBuildingForPlayer ? help me - by Nixon_West - 24.05.2012, 09:35
Re: RemoveBuildingForPlayer ? help me - by Evation - 24.05.2012, 09:37
Re: RemoveBuildingForPlayer ? help me - by $$inSane - 24.05.2012, 09:48
Re: RemoveBuildingForPlayer ? help me - by JaKe Elite - 24.05.2012, 09:50
Re: RemoveBuildingForPlayer ? help me - by $$inSane - 24.05.2012, 09:52

Forum Jump:


Users browsing this thread: 5 Guest(s)