/cage (id) (reason)
#4

And how can i get this to say Caged for (time) seconds

pawn Code:
public CagePlayer(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        new Index;
        new Float:X, Float:Y, Float:Z;
        GetPlayerPos(playerid, X, Y, Z);
        SetPlayerPos(playerid, X, Y, Z+5);
        cage[playerid] = CreateObject(985, X, Y+4, Z+5, 0.0, 0.0, 0.0);
        cage2[playerid] = CreateObject(985, X+4, Y, Z+5, 0.0, 0.0, 90.0);
        cage3[playerid] = CreateObject(985, X-4, Y, Z+5, 0.0, 0.0, 270.0);
        cage4[playerid] = CreateObject(985, X, Y-4, Z+5, 0.0, 0.0, 180.0);
        cage5[playerid] = CreateObject(985, X, Y+1.8, Z+3.5, 90.0, 0.0, 0);
        cage6[playerid] = CreateObject(985, X, Y+1.8, Z+10, 90.0, 0.0, 0);
        TogglePlayerControllable(playerid, 1);
        PlayerPlaySound(playerid,1137,0.0,0.0,0.0);
        GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~r~Caged ~n~for  seconds",3000, 3, tmp2);
    }
}
Reply


Messages In This Thread
/cage (id) (reason) - by SnG.Scot_MisCuDI - 15.12.2011, 02:19
Re: /cage (id) (reason) - by Ballu Miaa - 15.12.2011, 02:56
Re: /cage (id) (reason) - by SnG.Scot_MisCuDI - 15.12.2011, 03:23
Re: /cage (id) (reason) - by SnG.Scot_MisCuDI - 15.12.2011, 04:01
Re: /cage (id) (reason) - by suhrab_mujeeb - 15.12.2011, 06:48
Re: /cage (id) (reason) - by Scenario - 15.12.2011, 10:55
Re: /cage (id) (reason) - by vassilis - 15.12.2011, 14:19
Re: /cage (id) (reason) - by SnG.Scot_MisCuDI - 15.12.2011, 21:09
Re: /cage (id) (reason) - by Scenario - 15.12.2011, 21:17
Re: /cage (id) (reason) - by SnG.Scot_MisCuDI - 15.12.2011, 21:18

Forum Jump:


Users browsing this thread: 3 Guest(s)