[AJUDA]Erro
#1

Olha to fazendo um codigo de trocar de skin e tals
Olha ai o code
PHP код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Blank Filterscript by your name here");
    print(
"--------------------------------------\n");
    return 
1;
}
public 
OnFilterScriptExit()
{
    return 
1;
}
#else
main()
{
    print(
"\n----------------------------------");
    print(
" Blank Gamemode by your name here");
    print(
"----------------------------------\n");
}
public 
OnGameModeInit()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("Blank Script");
    
AddPlayerClass(01958.37831343.157215.3746269.1425000000);
    return 
1;
}
public 
OnGameModeExit()
{
    return 
1;
}
public 
OnPlayerRequestClass(playeridclassid)
{
    
SetPlayerPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraPos(playerid1958.37831343.157215.3746);
    
SetPlayerCameraLookAt(playerid1958.37831343.157215.3746);
    return 
1;
}
public 
OnPlayerConnect(playerid)
{
    return 
1;
}
public 
OnPlayerDisconnect(playeridreason)
{
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    return 
1;
}
public 
OnPlayerDeath(playeridkilleridreason)
{
    return 
1;
}
public 
OnVehicleSpawn(vehicleid)
{
    return 
1;
}
public 
OnVehicleDeath(vehicleidkillerid)
{
    return 
1;
}
public 
OnPlayerText(playeridtext[])
{
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
         if(
strcmp(cmdtext"/294"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid294);
                return 
1;
        }
         if(
strcmp(cmdtext"/250"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid250);
                return 
1;
        }
        if(
strcmp(cmdtext"/249"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid249);
                return 
1;
        }
        if(
strcmp(cmdtext"/248"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid248);
                return 
1;
        }
        if(
strcmp(cmdtext"/247"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid247);
                return 
1;
        }
        if(
strcmp(cmdtext"/246"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid246);
                return 
1;
        }
        if(
strcmp(cmdtext"/245"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid245);
                return 
1;
        }
        if(
strcmp(cmdtext"/244"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid244);
                return 
1;
        }
        if(
strcmp(cmdtext"/243"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid243);
                return 
1;
        }
        if(
strcmp(cmdtext"/242"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid242);
                return 
1;
        }
    if(
strcmp(cmdtext"/241"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid241);
                return 
1;
        }
    if(
strcmp(cmdtext"/240"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid240);
                return 
1;
        }
    if(
strcmp(cmdtext"/254"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid254);
                return 
1;
        }
   if(
strcmp(cmdtext"/259"true) == 0)
        {
                
SendClientMessage(playerid,0x80FF00AA,"Voзe pegou o disfarзe");
                
SetPlayerSkin(playerid259);
                return 
1;
        }
   if(
strcmp(cmdtext"/Disfarзe"true) == 0)
    {
        if(
IsPlayerInRangeOfPoint(playerid2.0,1507.8744,-1714.6392,14.0469))
        {
        
SendClientMessage(playerid,0xFF0000AA,"Roupas:");
        
SendClientMessage(playerid,0xFF0000AA,"/259 R$100,00,/254 R$100,00,/240 R$100,00,");
        
SendClientMessage(playerid,0xFF0000AA,"/241 R$100,00,/242 R$100,00,/243 R$100,00");
        
SendClientMessage(playerid,0xFF0000AA,"/244 R$100,00,/245 R$100,00,/246 R$100,00");
        
SendClientMessage(playerid,0xFF0000AA,"/247 R$100,00,/248 R$100,00,/249 R$100,00,/250 R$100,00,Skin hitman /294");
        
SendClientMessage(playerid,0xFF0000AA,"Quer saber qual skin usar??Procure os ids em:https://sampwiki.blast.hk/wiki/Skins:All");
        return 
1;
        }
  return 
0;
 }
 
 
#endif 
Mais fica dando um erro que eu nao consigo tirar:
PHP код:
C:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(102) : warning 217loose indentation
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(150) : warning 217loose indentation
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(168) : warning 217loose indentation
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(188) : warning 217loose indentation
C
:\Documents and Settings\weverton\Meus documentos\samp\filterscripts\hitman.pwn(192) : error 030compound statement not closed at the end of file (started at line 90
Deis de ja obrigado
Reply


Messages In This Thread
[AJUDA]Erro - by wevertonneves - 09.10.2011, 23:59
Re: [AJUDA]Erro - by Jason` - 10.10.2011, 00:01
Re: [AJUDA]Erro - by [O.z]Caroline - 10.10.2011, 00:03
Re: [AJUDA]Erro - by Macintosh - 10.10.2011, 00:07
Re: [AJUDA]Erro - by wevertonneves - 10.10.2011, 00:15

Forum Jump:


Users browsing this thread: 3 Guest(s)