27.11.2013, 22:27
йh q eu quero fazer uma dialog pro player escolher ce quer ganhar level ou grana ao termina o evento, ai fis isso aki
Ai da esses erros aki
PHP код:
#define premio
PHP код:
if(dialogid == premio)
{
if(response == 1)
{
if(listitem == 0)
{
GivePlayerMoney(playerid, 20000)
}
if(listitem == 1)
{
GivePlayerScore(playerid, 10)
}
}
}]
PHP код:
ShowPlayerDialog(playerid, premio, DIALOG_STYLE_LIST, "Premios", "Dinheiro - 20 mil\nLevel - 10", "Ok", "Cancelar");
PHP код:
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(2072) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(2745) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(2817) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(3552) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(12225) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(12239) : warning 217: loose indentation
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(18821) : error 017: undefined symbol "GivePlayerScore"
C:\Documents and Settings\Luis Paulo\Desktop\Brasil Straim Hard\gamemodes\Dten03x.pwn(29398) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.