[Ajuda]Comando /neon
#1

PHP код:
    if(strcmp("/neon"cmdtexttrue10) == 0)
    {
    if(
GetPlayerInterior(playerid) != 3)
    {
    if(
PlayerToPoint(6.0,playerid,615.2851,-124.2390,997.6350))
    {
    
ShowPlayerDialog(playeridNEONDIALOG_STYLE_LIST"Neon""{0000FF}NEON\n{FF0000}NEON\n{00FF00}NEON\n{FFFFFF}NEON\n{FF1493}NEON\n{FFFF00}NEON\nRemover NEON""OK""Cancelar");
    }
    return 
1;
    } 
Oque hб de errado neste comando?
Reply
#2

Ta dando algum erro '-'
Reply
#3

sim esta e esses sгo os seguintes erros:


PHP код:
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(2489) : error 017undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(2534) : error 017undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5394) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5414) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5441) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5459) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5899) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5941) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(5983) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6025) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6054) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6083) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6112) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6141) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6170) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6218) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6247) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6298) : error 017undefined symbol "IsNumero"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6332) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6374) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6391) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6408) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6425) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6442) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6461) : error 017undefined symbol "GetPlayerOrg"
C:\Documents and Settings\CLIENTE\Meus documentos\Downloads\GAMEMODE\gamemodes\SB.pwn(6473) : error 017undefined symbol "DepositarGranaOrg"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Reply
#4

Faltava uma chave

pawn Код:
if(strcmp("/neon", cmdtext, true, 10) == 0)
{
    if(GetPlayerInterior(playerid) != 3)
    {
        if(PlayerToPoint(6.0,playerid,615.2851,-124.2390,997.6350))
        {
            ShowPlayerDialog(playerid, NEON, DIALOG_STYLE_LIST, "Neon", "{0000FF}NEON\n{FF0000}NEON\n{00FF00}NEON\n{FFFFFF}NEON\n{FF1493}NEON\n{FFFF00}NEON\nRemover NEON", "OK", "Cancelar");
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)