police only
#9

Quote:
Originally Posted by Edward d
View Post
Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (!strcmp("/spike", cmdtext))
    {   
        if(gTeam[playerid] == COP) }

        if(Spikes == 0)
        {
        GetPlayerPos(playerid,x,y,z);
        GetPlayerFacingAngle(playerid, rz);
        spike = CreateObject(2892, x, y, z-0.8, 0, 0, rz+90);
        SendClientMessage(playerid, 0xFFFFFFFF, "Spike Strip Set!");
        Spikes = 1;
        }
        else
        {
        SendClientMessage(playerid, 0xFFFFFFFF, "There Is Already A Spike Strip Set!");
       }
That bracket dear. It's open and not close.
Reply


Messages In This Thread
police only - by Edward d - 28.10.2012, 00:54
Re: police only - by Rodney Francalim - 28.10.2012, 01:02
Re: police only - by thefatshizms - 28.10.2012, 01:02
Re: police only - by ryansheilds - 28.10.2012, 01:07
Re: police only - by Edward d - 28.10.2012, 12:18
Re: police only - by Mr.Anonymous - 28.10.2012, 12:39
Re: police only - by Edward d - 28.10.2012, 16:45
Re: police only - by Edward d - 28.10.2012, 18:57
Re: police only - by Mr.Anonymous - 28.10.2012, 19:45
Re: police only - by Edward d - 29.10.2012, 14:23

Forum Jump:


Users browsing this thread: 1 Guest(s)