RemoveBuildingForPlayer Function help
#2

Hm... look at my code.
public OnPlayerConnect(playerid) {
{
RemoveBuildingForPlayer(playerid, 2649, 477.8438, -7.7266, 1003.8672, 0.25);
RemoveBuildingForPlayer(playerid, 1436, 479.5938, -8.9922, 1001.2188, 0.25);
RemoveBuildingForPlayer(playerid, 1436, 479.5938, -4.2969, 1002.6328, 0.25);
RemoveBuildingForPlayer(playerid, 2653, 506.1406, -4.3672, 1004.2109, 0.25);
}
}

And this is working... Try to find in your gamemode - public OnPlayerConnect(playerid), after that write your code... A think you code will look like this...
public OnPlayerConnect(playerid) {
{
RemoveBuildingForPlayer(playerid, 5535, 1918.8516, -1776.3281, 16.9766, 0.25);
RemoveBuildingForPlayer(playerid, 5551, 2140.5156, -1735.1406, 15.8906, 0.25);
RemoveBuildingForPlayer(playerid, 5409, 1918.8516, -1776.3281, 16.9766, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1778.4531, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1774.3125, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1771.3438, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 1676, 1941.6563, -1767.2891, 14.1406, 0.25);
RemoveBuildingForPlayer(playerid, 5410, 2140.5156, -1735.1406, 15.8906, 0.25);
}
}
Reply


Messages In This Thread
RemoveBuildingForPlayer Function help - by SuperFiestaKreator - 07.08.2012, 20:45
Re: RemoveBuildingForPlayer Function help - by StAsMaNn - 07.08.2012, 22:35
Re : RemoveBuildingForPlayer Function help - by ricardo178 - 07.08.2012, 22:37
Re: RemoveBuildingForPlayer Function help - by SuperFiestaKreator - 07.08.2012, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)