Jump to content
  • 0

Question

Posted

Va rog ajutatima am o problema la pawno cand compilez imi apare aceasta eroare:

C:\Users\win7\Downloads\Samp\pawno\comanda.pwn(94) : warning 217: loose indentation

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Am copilizat asa:

public OnPlayerCommandText(playerid, cmdtext[])

{

if (strcmp("/destroyveh", cmdtext, true) == 0)

{

  new currentveh;

          currentveh =GetPlayerVehicleID(playerid);

          DestroyVehicle(currentveh);

          return 1;

}

return 0;

}

1 answer to this question

Recommended Posts

Posted

public OnPlayerCommandText(playerid, cmdtext[])
{
   if (strcmp("/destroyveh", cmdtext, true) == 0)
   {
         new currentveh;
          currentveh =GetPlayerVehicleID(playerid);
          DestroyVehicle(currentveh);
          return 1;
   }
   return 0;
}

Cu placere !

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.