27.12.2013, 16:54
Try this :
pawn Код:
CMD:operacion(playerid, params[])
{
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid, COLOR_GRAD2, "No estбs logeado!");
if(IsAtATM(playerid))
{
/* TextDrawSetString(Textdraw20, "Dinero: $%d" , GetPlayerCash(playerid));
TextDrawSetString(Textdraw21, "Banco: $%d" , Info[playerid][pAccount]);
*/
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
} else return SendClientMessageEx(playerid, COLOR_GREY, "No estбs en un Banco!");
return 1;
}