[Tutorial] Uso de celdas en strings (simple)
#10

en que afecta si yo uso memoria extra?
pawn Код:
if(strcmp(cmdtext, "/yosoynoob", true) == 0)
{
   new string[1024], J[MAX_PLAYER_NAME];
   GetPlayerName(playerid, J, sizeof(J));

   format(string, sizeof(string), "Jugador %s es mucho noob", J);
   return SendClientMessageToAll(0xFFF000AA, string);
}
Quote:
pawn Код:
"/yosoynoob"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)