15.02.2016, 20:51
Olá qual o erro desse dialog
Abraço!!
Код:
if(dialogid == SPAWN_PROF )
{
if(response)
{
if(listitem == 0)
{
pInfo[ playerid ][ fardado ] = 1;
{
SetPlayerArmour( playerid, 0.0 );
SetPlayerSkin( playerid, dini_Int( f( playerid ), "Skin" ));
pInfo[ playerid ][ fardado ] = 0;
pInfo[ playerid ][ ccolete ] = 0;
SendClientMessage( playerid, 0x99CC66AA, "[ > ] Você resolveu dar spawn na sua nova Profissão." );
SendClientMessage( playerid, 0x99CC66AA, "[ > ] Para saber sobre comandos e funções de sua profissão digite: /Profissao" );
}
else if(listitem == 1)
{
FireAtual[ playerid ];
{
new ID = playerid;
DestroyDynamicObject( FireObj[ ID ] );
FireCreated[ ID ] = 0;
FirePlayer[ ID ] = "Ninguém";
FirePos[ ID ][ 0 ] = 0, FirePos[ ID ][ 1 ] = 0, FirePos[ ID ][ 2 ] = 0;
Delete3DTextLabel( FireText[ ID ] );
FireAtual[ playerid ] = 0;
RemovePlayerMapIcon( playerid, 90 );
SendClientMessage( playerid, 0x99CC66AA, "[ > ] Você resolveu ficar aqui mesmo na Agência." );
SendClientMessage( playerid, 0x99CC66AA, "[ > ] Para saber sobre comandos e funções de sua profissão digite: /Profissao" );
SetColor( playerid ); ResetPlayerWeapons( playerid ); armasProf( playerid );
}
}
}
}
}
Код:
C:\Users\Felipe\Desktop\GM CVV 2.0\gamemodes\RPGe3.pwn(47066) : error 029: invalid expression, assumed zero
Код:
C:\Users\Felipe\Desktop\GM CVV 2.0\gamemodes\RPGe3.pwn(47066) : error 001: expected token: ";", but found "if"


