Deathmatch Zone Help
#6

but i did it.Here is my ls command:

Код:
if (strcmp("/ls", cmdtext, true, 10) == 0)
    {
    if(IsPlayerInAnyVehicle(playerid))
    {
    if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
    {
      SetVehiclePos(GetPlayerVehicleID(playerid), 2497.0798, -1666.4255, 13.3438);
      SetVehicleZAngle(GetPlayerVehicleID(playerid), 0);
    }
    else
    {
        SendClientMessage(playerid, YELLOW, "ERROR: You need to be the driver!");
        return 1;
      }
    }
    else
    {
      SetPlayerPos(playerid, 2497.0798, -1666.4255, 13.3438);
      SetPlayerFacingAngle(playerid, 0);
    }
    if(isindm1[playerid]==1) return SendClientMessage(playerid, YELLOW, "You need to exit the current deathmatch first.");
    new string[128],pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof(string),""RED"[Tp~Info] "GREEN"%s Teleported To Los Santos",pName);
    SendClientMessageToAll(COLOR,string);
    return 1;
    }
Reply


Messages In This Thread
Deathmatch Zone Help - by IvancheBG - 06.01.2012, 17:15
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 07:27
Re: Deathmatch Zone Help - by Lee_Percox - 07.01.2012, 07:36
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 07:41
Re: Deathmatch Zone Help - by §с†¶e®РµРe - 07.01.2012, 08:23
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 08:41
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 10:50
Re: Deathmatch Zone Help - by James Coral - 07.01.2012, 10:51
Re: Deathmatch Zone Help - by IvancheBG - 07.01.2012, 10:54
Re: Deathmatch Zone Help - by TheLonelyMoo - 07.01.2012, 11:03

Forum Jump:


Users browsing this thread: 2 Guest(s)