new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
new Text:Textdraw3;
new Text:Textdraw4;
new Text:Textdraw5;
Textdraw0 = TextDrawCreate(0.000000, 0.000000, "LD_SPAC:white");
TextDrawLetterSize(Textdraw0, 0.000000, 0.000000);
TextDrawTextSize(Textdraw0, 716.000000, 60.480007);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, -1061109505);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 4);
Textdraw1 = TextDrawCreate(733.199951, 64.220016, "usebox");
TextDrawLetterSize(Textdraw1, 0.000000, 4.637406);
TextDrawTextSize(Textdraw1, -34.000000, 0.000000);
TextDrawAlignment(Textdraw1, 1);
TextDrawColor(Textdraw1, 0);
TextDrawUseBox(Textdraw1, true);
TextDrawBoxColor(Textdraw1, 102);
TextDrawSetShadow(Textdraw1, 0);
TextDrawSetOutline(Textdraw1, 0);
TextDrawFont(Textdraw1, 0);
Textdraw2 = TextDrawCreate(0.799999, 60.479999, "LD_SPAC:white");
TextDrawLetterSize(Textdraw2, 0.000000, 0.000000);
TextDrawTextSize(Textdraw2, 637.600036, 46.293327);
TextDrawAlignment(Textdraw2, 1);
TextDrawColor(Textdraw2, 41215);
TextDrawSetShadow(Textdraw2, 0);
TextDrawSetOutline(Textdraw2, 0);
TextDrawFont(Textdraw2, 4);
Textdraw3 = TextDrawCreate(0.000000, 109.013336, "LD_SPAC:white");
TextDrawLetterSize(Textdraw3, 0.000000, 0.000000);
TextDrawTextSize(Textdraw3, 640.000000, 338.986663);
TextDrawAlignment(Textdraw3, 1);
TextDrawColor(Textdraw3, -2139062017);
TextDrawSetShadow(Textdraw3, 0);
TextDrawSetOutline(Textdraw3, 0);
TextDrawFont(Textdraw3, 4);
Textdraw4 = TextDrawCreate(110.400001, 109.013336, "LD_SPAC:white");
TextDrawLetterSize(Textdraw4, 0.000000, 0.000000);
TextDrawTextSize(Textdraw4, 413.600006, 338.986663);
TextDrawAlignment(Textdraw4, 1);
TextDrawColor(Textdraw4, -1);
TextDrawSetShadow(Textdraw4, 0);
TextDrawSetOutline(Textdraw4, 0);
TextDrawFont(Textdraw4, 4);
Textdraw5 = TextDrawCreate(221.600021, 185.920059, "LD_SPAC:white");
TextDrawLetterSize(Textdraw5, 0.000000, 0.000000);
TextDrawTextSize(Textdraw5, 194.399917, 67.200019);
TextDrawAlignment(Textdraw5, 1);
TextDrawColor(Textdraw5, -1);
TextDrawSetShadow(Textdraw5, 0);
TextDrawSetOutline(Textdraw5, 0);
TextDrawFont(Textdraw5, 4);
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);
return 1;
}
else SendClientMessageEx(playerid, COLOR_GREY, "No estбs en un Banco!");
return 1;
}
CMD:operacion(playerid, params[])
{
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid, COLOR_GRAD2, "No estбs logeado!");
if(!IsAtATM(playerid)) return SendClientMessageEx(playerid, COLOR_GREY, "No estбs en un Banco!");
{
/* 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);
}
return 1;
}
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;
}
Try this :
pawn Код:
|
CMD:operacion(playerid, params[])
{
if(!gPlayerLogged{playerid}) return SendClientMessageEx(playerid, COLOR_GRAD2, "No estбs logeado!");
if(!IsAtATM(playerid)) return SendClientMessageEx(playerid, COLOR_GREY, "No estбs en un Banco!");
{
/* TextDrawSetString(Textdraw20, "Dinero: $%d" , GetPlayerCash(playerid));
TextDrawSetString(Textdraw21, "Banco: $%d" , Info[playerid][pAccount]);
*/
SendClientMessage(playerid, COLOR_GREY, "LOS PROBLEMAS SON LOS TEXTDRAW Y NO EL COMAND");
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
}
return 1;
}
pawn Код:
|