FS Crashes the server
#3

so now i have this and it should work?

pawn Code:
if (strcmp("/AttackStrike", cmdtext, true, 10) == 0)
    {
      SetTimer("AttackTimer", 5000, 1);
        new name[MAX_PLAYER_NAME+1];
        new String[256];
        GetPlayerName(playerid, name, sizeof(name));
        format(String, sizeof(String), "%s Has Sent an Airstrike, Take Cover!", name);
        SendClientMessageToAll(0xDC143CAA, String);
        GivePlayerMoney(playerid, -1000);
        return 1;
    }
   
    if (strcmp("/DefenceStrike", cmdtext, true, 10) == 0)
    {
      SetTimer("OneSecTimer", 5000, 1);
      new name[MAX_PLAYER_NAME+1];
        new String[256];
        GetPlayerName(playerid, name, sizeof(name));
        format(String, sizeof(String), "%s Has Sent an Airstrike, Take Cover!", name);
        SendClientMessageToAll(0xDC143CAA, String);
        GivePlayerMoney(playerid, -1000);
        return 1;
    }
Reply


Messages In This Thread
FS Crashes the server - by V1ceC1ty - 11.08.2009, 11:29
Re: FS Crashes the server - by Andom - 11.08.2009, 11:43
Re: FS Crashes the server - by V1ceC1ty - 11.08.2009, 12:09
Re: FS Crashes the server - by V1ceC1ty - 11.08.2009, 12:13
Re: FS Crashes the server - by pagie1111 - 11.08.2009, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)