[Ajuda] Sistema de neon dando erros
#1

PHP код:
#define FILTERSCRIPT
#define COLOR_WHITE 0xFFFFFFAA
#include <a_samp>
#define NEON 1337 // Dialogid
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
    print(
"\n--------------------------------------");
    print(
" Neon System By AlexzzPro");
    print(
"--------------------------------------\n");
    return 
1;
}
#endif
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/neon"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInAnyVehicle(playerid))
         {
            if(!
IsPlayerInRangeOfPoint(playerid6.02496.1047,-1459.8186,24.0170)) return SendClientMessage(playerid, -1"Vocк nгo estб no local 2496.1047,-1459.8186,24.0170");
            if([
playerid][pVIP] < 1) return SendClientMessage(playerid, -1"Vocк nгo й VIP ou socido !");
            if(
GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
            {
                
SendClientMessage(playeridCOLOR_WHITE"      Vocк Nгo estб em um veiculo");
                return 
1;
            }
            
ShowPlayerDialog(playeridNEONDIALOG_STYLE_LIST"Escolha sua cor","Azul\nVerde\nAmarelo\nBranco\nRosa\nRetirar Neon","Adicionar","Fechar");
        }
        else
        {
            
SendClientMessage(playeridCOLOR_WHITE" Vocк Nгo estб em um veiculo");
        }
        return 
1;
    }
    return 
0;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == NEON)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SetPVarInt(playerid"neon"1);
                
SetPVarInt(playerid"blue"CreateObject(18648,0,0,0,0,0,0));
                
SetPVarInt(playerid"blue1"CreateObject(18648,0,0,0,0,0,0));
                
AttachObjectToVehicle(GetPVarInt(playerid"blue"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                
AttachObjectToVehicle(GetPVarInt(playerid"blue1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~b~ Azul ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 1)
            {
                   
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"green"CreateObject(18649,0,0,0,0,0,0));
                   
SetPVarInt(playerid"green1"CreateObject(18649,0,0,0,0,0,0));
                   
AttachObjectToVehicle(GetPVarInt(playerid"green"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                  
AttachObjectToVehicle(GetPVarInt(playerid"green1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                  
GameTextForPlayer(playerid"~g~Verde ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 2)
            {
                
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"yellow"CreateObject(18650,0,0,0,0,0,0));
                  
SetPVarInt(playerid"yellow1"CreateObject(18650,0,0,0,0,0,0));
                
AttachObjectToVehicle(GetPVarInt(playerid"yellow"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                 
AttachObjectToVehicle(GetPVarInt(playerid"yellow1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~y~Amarelo~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 3)
            {
                   
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"white"CreateObject(18652,0,0,0,0,0,0));
                   
SetPVarInt(playerid"white1"CreateObject(18652,0,0,0,0,0,0));
                   
AttachObjectToVehicle(GetPVarInt(playerid"white"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                  
AttachObjectToVehicle(GetPVarInt(playerid"white1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~w~Branco~w~ Neon foi colado em seu veiculo",3500,5);
            }
            if(
listitem == 4)
            {
                   
SetPVarInt(playerid"neon"1);
                 
SetPVarInt(playerid"pink"CreateObject(18651,0,0,0,0,0,0));
                
SetPVarInt(playerid"pink1"CreateObject(18651,0,0,0,0,0,0));
                  
AttachObjectToVehicle(GetPVarInt(playerid"pink"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                
AttachObjectToVehicle(GetPVarInt(playerid"pink1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~p~Rosa~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 5)
            {
                   
DestroyObject(GetPVarInt(playerid"blue"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"blue1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"green"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"green1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"yellow"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"yellow1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"white"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"white1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"pink"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"pink1"));
                
DeletePVar(playerid"neon");
                
GameTextForPlayer(playerid"~g~Neon foi deletado de seu veiculo",3500,5);
            }
        }
     }
    return 
1;

ta dando esses erros olha:

PHP код:
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\filterscripts\neon.pwn(23) : error029invalid expressionassumed zero
C
:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\filterscripts\neon.pwn(23) : warning215expression has no effect
C
:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\filterscripts\neon.pwn(23) : error001expected token";"but found "]"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\filterscripts\neon.pwn(23) : error029invalid expressionassumed zero
C
:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\filterscripts\neon.pwn(23) : error fatal107too many error messages on one line 
entгo ai vai a pergunta ! queria por esse sistema de neon para vips usarem, e coloquei as cordenadas de uma garagem ou seja o vip teria que ir atй essa tal garagem e digita /neon que iria aparecer os neons ! mas ta dando esses erros. E outra pergunta ! queria passar isso tudo pro gm ! entгo queria saber como faзo pra passar esse fs modificado pro meu game mode !

agradeceria se alguem me ajuda-se vlw!
Reply
#2

pawn Код:
#define FILTERSCRIPT
#define COLOR_WHITE 0xFFFFFFAA
#include <a_samp>
#define NEON 1337 // Dialogid
#pragma tabsize 0
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Neon System By AlexzzPro");
    print("--------------------------------------\n");
    return 1;
}

#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/neon", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
         {
            if(!IsPlayerInRangeOfPoint(playerid, 6.0, 2496.1047,-1459.8186,24.0170)) return SendClientMessage(playerid, -1, "Vocк nгo estб no local 2496.1047,-1459.8186,24.0170");
           // if([playerid][pVIP] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й VIP ou socido !");
            if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
            {
                SendClientMessage(playerid, COLOR_WHITE, "      Vocк Nгo estб em um veiculo");
                return 1;
            }
            ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Escolha sua cor","Azul\nVerde\nAmarelo\nBranco\nRosa\nRetirar Neon","Adicionar","Fechar");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, " Vocк Nгo estб em um veiculo");
        }
        return 1;
    }
    return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == NEON)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetPVarInt(playerid, "neon", 1);
                SetPVarInt(playerid, "blue", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, "blue1", CreateObject(18648,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "blue"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "blue1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~b~ Azul ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 1)
            {
                   SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "green", CreateObject(18649,0,0,0,0,0,0));
                   SetPVarInt(playerid, "green1", CreateObject(18649,0,0,0,0,0,0));
                   AttachObjectToVehicle(GetPVarInt(playerid, "green"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  AttachObjectToVehicle(GetPVarInt(playerid, "green1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  GameTextForPlayer(playerid, "~g~Verde ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 2)
            {
                SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "yellow", CreateObject(18650,0,0,0,0,0,0));
                  SetPVarInt(playerid, "yellow1", CreateObject(18650,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "yellow"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                 AttachObjectToVehicle(GetPVarInt(playerid, "yellow1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~y~Amarelo~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 3)
            {
                   SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "white", CreateObject(18652,0,0,0,0,0,0));
                   SetPVarInt(playerid, "white1", CreateObject(18652,0,0,0,0,0,0));
                   AttachObjectToVehicle(GetPVarInt(playerid, "white"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  AttachObjectToVehicle(GetPVarInt(playerid, "white1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~w~Branco~w~ Neon foi colado em seu veiculo",3500,5);
            }
            if(listitem == 4)
            {
                   SetPVarInt(playerid, "neon", 1);
                 SetPVarInt(playerid, "pink", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, "pink1", CreateObject(18651,0,0,0,0,0,0));
                  AttachObjectToVehicle(GetPVarInt(playerid, "pink"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "pink1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~p~Rosa~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 5)
            {
                   DestroyObject(GetPVarInt(playerid, "blue"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "blue1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "green"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "green1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "yellow"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "yellow1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "white"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "white1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "pink"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "pink1"));
                DeletePVar(playerid, "neon");
                GameTextForPlayer(playerid, "~g~Neon foi deletado de seu veiculo",3500,5);
            }
        }
     }
    return 1;
}
Reply
#3

Entгo Caroline eu queria q sу vips podiam usar o comando /neon :/
Reply
#4

Quote:
Originally Posted by Alien_Halls
Посмотреть сообщение
Entгo Caroline eu queria q sу vips podiam usar o comando /neon :/
Passe o sistema para seu gm e coloque as variбveis no comando.
Reply
#5

entгo num sei passar fs para o gm ! vc pode me explicar ?
Reply
#6

OnFilterScriptInit ~> OnGameModeInit
OnFilterScriptExit ~> OnGameModeExit

Do resto й sу passar comandos e tudo mais...
Reply
#7

assim ? olha ! OBS: AINDA NГO COLOQUEI VARIAVEIS.

PHP код:
#define FILTERSCRIPT
#define COLOR_WHITE 0xFFFFFFAA
#include <a_samp>
#define NEON 1337 // Dialogid
#pragma tabsize 0
#if defined FILTERSCRIPT
public OnGameModeInit()
{
    print(
"\n--------------------------------------");
    print(
" Neon System By AlexzzPro");
    print(
"--------------------------------------\n");
    return 
1;
}
#endif
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/neon"cmdtexttrue10) == 0)
    {
        if(
IsPlayerInAnyVehicle(playerid))
         {
            if(!
IsPlayerInRangeOfPoint(playerid6.02498.8423,-1460.5153,24.3884)) return SendClientMessage(playerid, -1"Vocк nгo estб no local na garagem de Neon use /gps");
           
// if([playerid][pVIP] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й VIP ou socido !");
            
if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
            {
                
SendClientMessage(playeridCOLOR_WHITE"      Vocк Nгo estб em um veiculo");
                return 
1;
            }
            
ShowPlayerDialog(playeridNEONDIALOG_STYLE_LIST"Escolha sua cor","Azul\nVerde\nAmarelo\nBranco\nRosa\nRetirar Neon","Adicionar","Fechar");
        }
        else
        {
            
SendClientMessage(playeridCOLOR_WHITE" Vocк Nгo estб em um veiculo");
        }
        return 
1;
    }
    return 
0;
}
public 
OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == NEON)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                
SetPVarInt(playerid"neon"1);
                
SetPVarInt(playerid"blue"CreateObject(18648,0,0,0,0,0,0));
                
SetPVarInt(playerid"blue1"CreateObject(18648,0,0,0,0,0,0));
                
AttachObjectToVehicle(GetPVarInt(playerid"blue"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                
AttachObjectToVehicle(GetPVarInt(playerid"blue1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~b~ Azul ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 1)
            {
                   
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"green"CreateObject(18649,0,0,0,0,0,0));
                   
SetPVarInt(playerid"green1"CreateObject(18649,0,0,0,0,0,0));
                   
AttachObjectToVehicle(GetPVarInt(playerid"green"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                  
AttachObjectToVehicle(GetPVarInt(playerid"green1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                  
GameTextForPlayer(playerid"~g~Verde ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 2)
            {
                
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"yellow"CreateObject(18650,0,0,0,0,0,0));
                  
SetPVarInt(playerid"yellow1"CreateObject(18650,0,0,0,0,0,0));
                
AttachObjectToVehicle(GetPVarInt(playerid"yellow"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                 
AttachObjectToVehicle(GetPVarInt(playerid"yellow1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~y~Amarelo~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 3)
            {
                   
SetPVarInt(playerid"neon"1);
                   
SetPVarInt(playerid"white"CreateObject(18652,0,0,0,0,0,0));
                   
SetPVarInt(playerid"white1"CreateObject(18652,0,0,0,0,0,0));
                   
AttachObjectToVehicle(GetPVarInt(playerid"white"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                  
AttachObjectToVehicle(GetPVarInt(playerid"white1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~w~Branco~w~ Neon foi colado em seu veiculo",3500,5);
            }
            if(
listitem == 4)
            {
                   
SetPVarInt(playerid"neon"1);
                 
SetPVarInt(playerid"pink"CreateObject(18651,0,0,0,0,0,0));
                
SetPVarInt(playerid"pink1"CreateObject(18651,0,0,0,0,0,0));
                  
AttachObjectToVehicle(GetPVarInt(playerid"pink"), GetPlayerVehicleID(playerid), -0.80.0, -0.700.00.00.0);
                
AttachObjectToVehicle(GetPVarInt(playerid"pink1"), GetPlayerVehicleID(playerid), 0.80.0, -0.700.00.00.0);
                
GameTextForPlayer(playerid"~p~Rosa~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(
listitem == 5)
            {
                   
DestroyObject(GetPVarInt(playerid"blue"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"blue1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"green"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"green1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"yellow"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"yellow1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"white"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"white1"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"pink"));
                
DeletePVar(playerid"neon");
                
DestroyObject(GetPVarInt(playerid"pink1"));
                
DeletePVar(playerid"neon");
                
GameTextForPlayer(playerid"~g~Neon foi deletado de seu veiculo",3500,5);
            }
        }
     }
    return 
1;

outra pergunta ! oq hб de errado com as variaveis q estгo // ? quero saber oq estб de errado nelas pra min poder corrigir :/
Reply
#8

olha.. no fs nгo tem public OnFilterScriptExit()

e estб dando erros quando vo copila olha:

pawn Код:
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\pawno\include\servermoneyGM.inc(47) : error: 004: function "GMExit" is not implemented
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\pawno\include\servermoneyGM.inc(47) : error: 004: function "OnPlayerHaveExtraCash" is not implemented
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 004: function "SaveCars" is not implemented
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "IsNumero"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "GetPlayerOrg"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "GetPlayerOrg"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "GetPlayerOrg"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "GetPlayerOrg"
C:\Documents and Settings\Christian temp\Desktop\Gamemods\BHL\gamemodes\BHL.pwn(47) : error: 017: undefined symbol "GetPlayerOrg"


Coloquei assim no gm olha:

pawn Код:
#define FILTERSCRIPT
#define COLOR_WHITE 0xFFFFFFAA
#include <a_samp>
#define NEON 1337 // Dialogid
#pragma tabsize 0
#if defined FILTERSCRIPT

public OnGameModeInit()
{
    print("\n--------------------------------------");
    print(" Neon System By AlexzzPro");
    print("--------------------------------------\n");
    return 1;
}

#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/neon", cmdtext, true, 10) == 0)
    {
        if(IsPlayerInAnyVehicle(playerid))
         {
            if(!IsPlayerInRangeOfPoint(playerid, 6.0, 2498.8423,-1460.5153,24.3884)) return SendClientMessage(playerid, -1, "Vocк nгo estб no local na garagem de Neon use /gps");
            if([playerid][pVIP] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й VIP ou socido !");
            if(GetPlayerState(playerid) == PLAYER_STATE_PASSENGER)
            {
                SendClientMessage(playerid, COLOR_WHITE, "      Vocк Nгo estб em um veiculo");
                return 1;
            }
            ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Escolha sua cor","Azul\nVerde\nAmarelo\nBranco\nRosa\nRetirar Neon","Adicionar","Fechar");
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, " Vocк Nгo estб em um veiculo");
        }
        return 1;
    }
    return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == NEON)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetPVarInt(playerid, "neon", 1);
                SetPVarInt(playerid, "blue", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, "blue1", CreateObject(18648,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "blue"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "blue1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~b~ Azul ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 1)
            {
                   SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "green", CreateObject(18649,0,0,0,0,0,0));
                   SetPVarInt(playerid, "green1", CreateObject(18649,0,0,0,0,0,0));
                   AttachObjectToVehicle(GetPVarInt(playerid, "green"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  AttachObjectToVehicle(GetPVarInt(playerid, "green1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  GameTextForPlayer(playerid, "~g~Verde ~w~Neon Foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 2)
            {
                SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "yellow", CreateObject(18650,0,0,0,0,0,0));
                  SetPVarInt(playerid, "yellow1", CreateObject(18650,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "yellow"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                 AttachObjectToVehicle(GetPVarInt(playerid, "yellow1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~y~Amarelo~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 3)
            {
                   SetPVarInt(playerid, "neon", 1);
                   SetPVarInt(playerid, "white", CreateObject(18652,0,0,0,0,0,0));
                   SetPVarInt(playerid, "white1", CreateObject(18652,0,0,0,0,0,0));
                   AttachObjectToVehicle(GetPVarInt(playerid, "white"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                  AttachObjectToVehicle(GetPVarInt(playerid, "white1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~w~Branco~w~ Neon foi colado em seu veiculo",3500,5);
            }
            if(listitem == 4)
            {
                   SetPVarInt(playerid, "neon", 1);
                 SetPVarInt(playerid, "pink", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, "pink1", CreateObject(18651,0,0,0,0,0,0));
                  AttachObjectToVehicle(GetPVarInt(playerid, "pink"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "pink1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                GameTextForPlayer(playerid, "~p~Rosa~w~ Neon foi colocado em seu veiculo",3500,5);
            }
            if(listitem == 5)
            {
                   DestroyObject(GetPVarInt(playerid, "blue"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "blue1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "green"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "green1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "yellow"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "yellow1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "white"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "white1"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "pink"));
                DeletePVar(playerid, "neon");
                DestroyObject(GetPVarInt(playerid, "pink1"));
                DeletePVar(playerid, "neon");
                GameTextForPlayer(playerid, "~g~Neon foi deletado de seu veiculo",3500,5);
            }
        }
     }
    return 1;
}

Entгo alguem sabe resolver isso ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)