08.03.2011, 07:32
pawn Код:
new file[100],Name[MAX_PLAYER_NAME]; GetPlayerName(playerid,Name,sizeof(Name)); format(file,sizeof(file),playerid,Name);
if(!response) return ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"Banco","Depositar\nExtrair\nBalanзo\nTransferir","Aceitar","Cancelar");
else if(strval(inputtext) > GetPlayerMoney(playerid)) return SendClientMessage(playerid,COLOR_RED,"Nao tens essa montante!");
else if(!IsNumeric(inputtext))
{
new string[128];
format(string,sizeof(string),"Actual Balanзo do banco: %d\nIntroduz a montante desejada:",pInfo[playerid][Deposit]);
pawn Код:
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17141) : error 035: argument type mismatch (argument 3)
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17147) : error 028: invalid subscript (not an array or too many subscripts): "pInfo"
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17147) : warning 215: expression has no effect
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17147) : error 001: expected token: ";", but found "]"
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17147) : error 029: invalid expression, assumed zero
C:\Users\Pedro Nobre\Desktop\Servidor\gamemodes\crp.pwn(17147) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.