One weird little error...
#1

Hi!

This is my script so far...
pawn Код:
if(strcmp(cmdtext, "/driftaa", true)==0)
  {
    if(!Deathmatch[playerid] == 1)//The error is on this line!
        {
            if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
            {
            new car;
            car = GetPlayerVehicleID(playerid);
            SetVehiclePos(car,149.5744, 2487.4087, 41.2186);
                SendClientMessage(playerid, COLOR_ORANGE, "Server: Welcome to the Old Abandoned Airport Drifting Region!");
                }
            else

        SetPlayerPos(playerid,149.5744, 2487.4087, 41.2186);
            SendClientMessage(playerid, COLOR_ORANGE, "Server: Welcome to the Old Abandoned Airport Drifting Region!");
            }
            else
        SendClientMessage(playerid, COLOR_ORANGE,"Server: You cannot teleport whilst inside a DM. Use /quitdm first");
        return 1;
Yes, its a teleport! But I get the following error:

Код:
Tag mismatch
Plz help me fix this, thnk you!
Reply


Messages In This Thread
One weird little error... - by Tigerbeast11 - 31.10.2009, 12:28
Re: One weird little error... - by Finn - 31.10.2009, 12:36
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 12:38
Re: One weird little error... - by Finn - 31.10.2009, 12:43
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:26
Re: One weird little error... - by Correlli - 31.10.2009, 13:29
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:31
Re: One weird little error... - by Correlli - 31.10.2009, 13:36
Re: One weird little error... - by Tigerbeast11 - 31.10.2009, 13:40

Forum Jump:


Users browsing this thread: 1 Guest(s)