stay in the world boundaries
#3

pawn Код:
public OnPlayerConnect(playerid)
{
    new pname[MAX_PLAYER_NAME], string[22 + MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    SetPlayerWorldBounds(playerid, 945.9079, 326.9805, 1132.754, 688.9946);
    format(string, sizeof(string), "%s has joined Simple DM", pname);
    SendClientMessageToAll(0xAAAAAAAA, string);
    return 1;
}
pawn Код:
SetPlayerWorldBounds(playerid, 945,9079, 326,9805, 1132,754, 688,9946);
Needs changing to:-

pawn Код:
SetPlayerWorldBounds(playerid, 945.9079, 326.9805, 1132.754, 688.9946);
Reply


Messages In This Thread
stay in the world boundaries - by duckie - 07.03.2011, 12:18
Re: stay in the world boundaries - by Max_Coldheart - 07.03.2011, 13:02
Re: stay in the world boundaries - by Davz*|*Criss - 08.03.2011, 07:30

Forum Jump:


Users browsing this thread: 1 Guest(s)