[AJUDA] Erro
#1

Galera agora apareceu esse erro aki


PHP код:
\testeconce.pwn(271) : error 010invalid function or declaration
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

PHP код:
public OnGameModeInit()
{
    
// Don't use these lines if it's a filterscript
    
SetGameModeText("conce");
    
AddPlayerClass(0, -2048.0999, -84.500035.0000269.1425000000);
    return 
1;
}
public 
OnPlayerSpawn(playerid)
{
    
SetPlayerCheckpoint(playerid, -2065.2861,-81.7028,35.16413.0);
    return 
1;
}
public 
OnPlayerCommandText(playeridcmdtext[])
{
    if(
strcmp("/comprarbullet"cmdtexttrue10) == 0)
    {
        if(
PlayerToPoint(3.0playerid, -2065.2861,-81.7028,35.1641))
        {
            
ShopCar[playerid] = CreateVehicle(541,-2047.09997559,-84.50000000,35.00000000,0.00000000,-1,-1,15); //Bullet
            
PutPlayerInVehicle(playeridShopCar[playerid], 0);
            
SendClientMessage(playeridCOLOR_GREY"Voce comprou um Bullet");
            }
            else
            {
               
SendClientMessage(playeridCOLOR_GREY"Voce na esta na Concecionaria");
            }
        }
    }
    return 
0;

ou seja o erro foi no retun oq sera que ta faltando ?
Reply


Messages In This Thread
[AJUDA] Erro - by atsbs - 25.11.2011, 23:43
Re: [AJUDA] Erro - by ExpressxD - 25.11.2011, 23:45
Re: [AJUDA] Erro - by atsbs - 25.11.2011, 23:47
Re: [AJUDA] Erro - by ExpressxD - 25.11.2011, 23:51
Re: [AJUDA] Erro - by rjjj - 25.11.2011, 23:53
Re: [AJUDA] Erro - by atsbs - 25.11.2011, 23:54
Re: [AJUDA] Erro - by .Unnamed - 25.11.2011, 23:57
Re: [AJUDA] Erro - by atsbs - 26.11.2011, 00:09
Re: [AJUDA] Erro - by atsbs - 26.11.2011, 00:30
Re: [AJUDA] Erro - by Hardware - 26.11.2011, 00:34

Forum Jump:


Users browsing this thread: 1 Guest(s)