[Pomoć] Map Editor sa funkcijom removebuilding...

Započeo Contixo, April 28, 2012, 12:59:33 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Izmapam sve u map editoru, i izbrisem objekte koje ja neću da imam i kopiram kod i nece da se izbrisu udjem IG i opet su tamo.

RemoveBuildingForPlayer(playerid, 3244, 2632.3906, -2073.6406, 12.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3244, 2632.3906, -2136.3281, 12.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3244, 2535.0938, -2131.8750, 12.9922, 0.25);


Primjer samo

Ovo stavis pod public OnPlayerConnect  u svom gamemodu :
RemoveBuildingForPlayer(playerid, 3244, 2632.3906, -2073.6406, 12.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3244, 2632.3906, -2136.3281, 12.7578, 0.25);
RemoveBuildingForPlayer(playerid, 3244, 2535.0938, -2131.8750, 12.9922, 0.25);


Vegas.

A možeÅ¡ i pod  OnGameModeInit RemoveBuildingForPlayer(modelid, 3244, 2632.3906, -2073.6406, 12.7578, 0.25);
RemoveBuildingForPlayer(modelid, 3244, 2632.3906, -2136.3281, 12.7578, 0.25);
RemoveBuildingForPlayer(modelid, 3244, 2535.0938, -2131.8750, 12.9922, 0.25);