were do i place this code?
#1

i want to know were do i add object codes form a map editor to on my script?

e.g.


RemoveBuildingForPlayer(playerid, 1308, 37.7734, 2570.5625, 15.3047, 0.25);

CreateObject(18753, 443.42, 2493.66, 14.67, 0.00, 0.00, 0.00);

AddStaticVehicleVehicle(522, 393.4932, 2446.0149, 15.1392, 0.0000, -1, -1, 100);
Reply
#2

On this line I think.

Код:
public OnGameModeInit()
{
I hope its helped you!
Reply
#3

pawn Код:
public OnGameModeInit()
{
     CreateObject(18753, 443.42, 2493.66, 14.67, 0.00, 0.00, 0.00);
     AddStaticVehicleVehicle(522, 393.4932, 2446.0149, 15.1392, 0.0000, -1, -1, 100);  
     return 1;
}

public OnPlayerConnect(playerid)
{
     RemoveBuildingForPlayer(playerid, 1308, 37.7734, 2570.5625, 15.3047, 0.25);
     return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)